just a wrapper for multiple apis like deepseek or google
- install the package
pip install ai_api_utils
- export your keys
we did this so you can use environment variables and secrets
export GEMINI_API_KEY="..."
export DEEPSEEK_API_KEY="..."
- import and use
from ai_api_utils import generate_gemini_text
prompt="how is the weather in paris?"
instructions="you are the weather reporter"
max_tokens=256
response=generate_gemini_text(prompt, instructions,max_tokens)