These Jupyter notebooks demonstrates how to use the Google Generative AI library to interact with the Gemini Pro API.
The Gemini Pro API is a service that generates text based on given prompts.
The code also uses the python-dotenv library to manage environment variables.
Prerequisites: Make sure you have Python installed on your system. You can check by running python --version in your terminal. If you don't have it, download it from https://www.python.org/downloads/.
Open your terminal or command prompt and navigate to the project directory. Run the following command:
jupyter notebookThis will open a Jupyter notebook in your browser. You can then open the notebook and run the code cells to interact with the Gemini Pro API.