{"id":18418806,"url":"https://github.com/yash-kavaiya/gemini-chatbot","last_synced_at":"2026-05-04T07:36:40.886Z","repository":{"id":222444430,"uuid":"749843570","full_name":"Yash-Kavaiya/gemini-chatbot","owner":"Yash-Kavaiya","description":"A conversational AI chatbot powered by Google's Gemini Pro language model, built with Streamlit and Google's GenerativeAI API.","archived":false,"fork":false,"pushed_at":"2024-02-24T10:38:03.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T05:55:08.154Z","etag":null,"topics":["gemini-pro","generative-ai","python","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yash-Kavaiya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-29T14:07:26.000Z","updated_at":"2024-11-30T16:46:58.000Z","dependencies_parsed_at":"2024-02-14T09:25:59.888Z","dependency_job_id":"85fbe5bf-aba3-4659-bd59-786711454d9c","html_url":"https://github.com/Yash-Kavaiya/gemini-chatbot","commit_stats":null,"previous_names":["yash-kavaiya/gemini-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yash-Kavaiya%2Fgemini-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yash-Kavaiya%2Fgemini-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yash-Kavaiya%2Fgemini-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yash-Kavaiya%2Fgemini-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yash-Kavaiya","download_url":"https://codeload.github.com/Yash-Kavaiya/gemini-chatbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670501,"owners_count":21142901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gemini-pro","generative-ai","python","streamlit"],"created_at":"2024-11-06T04:14:41.422Z","updated_at":"2026-05-04T07:36:40.812Z","avatar_url":"https://github.com/Yash-Kavaiya.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Gemini Pro Chatbot\n\nA conversational AI chatbot powered by Google's Gemini Pro language model, built with Streamlit and Google's GenerativeAI API.\n\n### **Features**\n\n* Engaging in conversational experiences with Gemini Pro\n* Clean and intuitive Streamlit-based user interface\n* Clear message history and the distinction between user and model (assistant) roles\n\n### **Prerequisites**\n\n1. **Google Cloud Platform (GCP) Project:** A GCP project with the Google GenerativeAI API enabled.\n2. **Google API Key:** A valid Google API key with access to the GenerativeAI API.\n3. **Python and Dependencies:** \n    * Python 3.6 or later\n    * Install the following packages via pip:\n        ```bash\n        pip install streamlit google-generativeai dotenv\n        ```\n\n### **Setup**\n\n1. **Obtain Google API Key:** Follow the instructions on the Google Cloud Platform console to get your API key.\n2. **Create `.env` file:** Create a file named `.env` in the project's root directory and add the following line:\n   ```\n   GOOGLE_API_KEY=your_api_key \n   ```\n   *Replace `your_api_key` with your actual API key.\n\n3. **Install Dependencies:** \n   ```bash\n   pip install streamlit google-generativeai dotenv\n   ```\n\n### **Running the Chatbot**\n\n1. **Start the Streamlit App:**\n   ```bash\n   streamlit run app.py \n   ```\n   * Replace 'app.py' with the actual name of your main Python file.\n2. **Access in Your Browser:** The chatbot will open in your web browser, typically at http://localhost:8501.\n### **Notes**\n\n* The `chat_message` component provided in a previous version has been replaced with Streamlit's native support. For further customization, explore Streamlit's documentation on custom components.\n* To enhance the chatbot, consider adding features like saving/exporting conversations, error handling, and UI improvements.\n\n### **Code Structure**\n\n* **`app.py` (or similar):** Contains the main Python code with Streamlit components and logic to interface with Gemini Pro.\n* **`.env`:** Stores your Google API key securely.\n\n**Please let me know if you'd like any modifications or additional sections to be included in your README file!** \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyash-kavaiya%2Fgemini-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyash-kavaiya%2Fgemini-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyash-kavaiya%2Fgemini-chatbot/lists"}