deboboy / search-for-intelligence

A complete redesign of the original Nextjs web application. This version will be LLM evaluation based; with features to score and store experiment runs.
0 stars 0 forks source link

[LLM] Add Google Gemini API #4

Open deboboy opened 2 days ago

deboboy commented 2 days ago

API key: AIzaSyD0mC0ur7xXppXcguYDEQPdRxh4TemSI5k

deboboy commented 2 days ago

curl \ -H 'Content-Type: application/json' \ -d '{"contents":[{"parts":[{"text":"Explain how AI works"}]}]}' \ -X POST 'https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:generateContent?key=YOUR_API_KEY'

deboboy commented 2 days ago

https://ai.google.dev/gemini-api/docs/quickstart?lang=python