Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 805 Bytes

File metadata and controls

20 lines (13 loc) · 805 Bytes

gemini_api

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.

Installation:

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/.

Running the App:

Open your terminal or command prompt and navigate to the project directory. Run the following command:

jupyter notebook

This 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.