The code creates a chat program using steamlit. The chat is powered by the Google Gemini Pro. The user can interact with the model powered by Google Gemini.
Through this project, I aimed to create a chat program power by Google Gemini generative model. As a beginner in AI Engineering, I made this project a learning experience in exploring and utilizing Google Gemini. 1. Set up the Google Cloud a. Created a Google Cloud account b. Created the Gemini_explorer project c. Set up billing information and enabled for the project-
Installed the Google Cloud SDK and set up the CLI a. Set up default credentials for the authentication
-
Set up the Google Gemini model a. Imported the necessary libraries such as verertexai and streamlit b. specified the configurations for the model c. Initialized the generative AI model using Gemini pro
-
Code the chat program using Python and Streamlit
Instructions to run the file
- In the terminal change the directory to where the file exists eg: C:\Users\user\RadicalAIWorkspace
- run the command: python -m streamlit run gemini_explorer.py