Simple example of a retrieval agent using TensorZero and Google Gemini API.
- Google Gemini API
- Python 3
- Get your API in Google AI Studio
- Duplicate
.env.examplefile and rename the copy to.env - Create a Python virtual environment and activate it
- Add the API key in
GOOGLE_AI_STUDIO_API_KEYon.envfile - Install the dependencies
pip install -r requirements.txt
python main.py- This project is created from simple agentic-rag tutorial, so it's not realiable
- Sometimes the agent is not capable to answer the questions (changing the model or ai provider can be better)
This project is under MIT License, enjoy it!