Skip to content

just a wrapper for multiple apis like deepseek or google

License

Notifications You must be signed in to change notification settings

pam-ji/ai_api_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai_api_utils

just a wrapper for multiple apis like deepseek or google

Usage

  • 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)

About

just a wrapper for multiple apis like deepseek or google

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages