Google Gemini Generative AI Integration 馃
This repository contains examples of Google Gemini chat conversation integrations using two agents: Gemini_agent and user_agent.
-
user_agent: This agent takes request from user (message) and queries google gemini agent. -
Gemini_agent: This agent takes query from user, and asks google gemini generative AI for response. Google Gemini . Once it gets response from generative AI. It sends back to user.
Getting Started 馃殌
To use these agents, follow the steps below:
Step 1: Obtain API Keys 馃攽
Before running the agents, you need to obtain the required API keys:
Google Gemini API Key
- Visit the Google AI Studio website: Google AI Studio
- Login using google credentials.
- Click on Get API Key and store this key at safe place.
- For more information on how to use Gemini API refer Gemini API Quickstart
Step 2: Set API Keys and address in agent scripts
- Fill in the API Keys in the
gemini_agentscripts. - Check for all gemini_agent address and replace it into the google agent.
Step 3: Run Project
To run the project and its agents:
cd src
python main.py
Now you have the agents up and running to perform gemini integrations using the provided APIs. Happy integrating! 馃帀