This project provides a reference for the Gemini Pro conversation example, This short example written in Python can be referred to by those who need it. Using the library provided by Google to complete a chat function is very simple.
pip install ipython
pip install google-generativeai
GOOGLE_API_KEY='Your_API_Key_Goes_Here'
python main.py
Enter your question in the command line to start a conversation with Gemini Pro