{"id":26051480,"url":"https://github.com/vish501/basic-chat-bot","last_synced_at":"2026-04-17T18:33:09.006Z","repository":{"id":280959754,"uuid":"943746578","full_name":"Vish501/Basic-Chat-Bot","owner":"Vish501","description":"Basic Chat Bot powered by Gemini","archived":false,"fork":false,"pushed_at":"2025-03-06T07:48:25.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T08:32:22.629Z","etag":null,"topics":["chatbot","gemini-api","huggingface","langchain","python"],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/Vish501/Basic-QA-Bot","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/Vish501.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":"2025-03-06T07:45:51.000Z","updated_at":"2025-03-06T07:49:18.000Z","dependencies_parsed_at":"2025-03-06T08:43:34.922Z","dependency_job_id":null,"html_url":"https://github.com/Vish501/Basic-Chat-Bot","commit_stats":null,"previous_names":["vish501/basic-chat-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vish501%2FBasic-Chat-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vish501%2FBasic-Chat-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vish501%2FBasic-Chat-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vish501%2FBasic-Chat-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vish501","download_url":"https://codeload.github.com/Vish501/Basic-Chat-Bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242501078,"owners_count":20139320,"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":["chatbot","gemini-api","huggingface","langchain","python"],"created_at":"2025-03-08T04:55:19.432Z","updated_at":"2025-12-04T21:07:36.714Z","avatar_url":"https://github.com/Vish501.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic Chat Bot powered by Gemini.\n\n## Overview\n\nThis project implements a simple AI chatbot using the Gemini API, enabling users to interact with the bot through natural language conversations. The chatbot leverages the Gemini language model to generate human-like responses.\n\n## Features\n\n- **Natural Language Understanding**: Utilizes the Gemini API to comprehend and process user inputs.\n- **Conversational AI**: Engages in interactive dialogues, providing relevant and coherent responses.\n- **Extensible Design**: Structured to allow easy integration of additional functionalities.\n\n## Requirements\n\n- Python 3.11.2\n- Required Python packages (listed in `requirements.txt`)\n\n## Installation\n\n1. **Clone the repository**:\n\n     ```bash\n     git clone https://github.com/Vish501/Basic-Chat-Bot.git\n     cd Basic-Chat-Bot\n    ```\n     \n2. **Install dependencies**:\n\n    It's recommended to use a virtual environment to manage dependencies. You can create and activate one using:\n   \n     ```bash\n     conda create -n venv python=3.11.2\n    ```\n     \n     ```bash\n    conda activate venv/\n   ```\n     Then, install the required packages: ```pip install -r requirements.txt```\n\n\n## Setting Up the Google API Key\n\nTo use the Gemini API, you need to set up your GOOGLE_API_KEY:\n\n1. Obtain your **Google API Key** from the **Google Cloud Console**.\n2. Add the API key to your environment:\n     - Locally (Linux/macOS): ```export GOOGLE_API_KEY=\"your-api-key-here\"```\n     - Locally (Windows - Command Prompt): ```set GOOGLE_API_KEY=\"your-api-key-here\"```\n     - Locally (Windows - PowerShell): ```$env:GOOGLE_API_KEY=\"your-api-key-here\"```\n\n3. If you are using GitHub Codespaces, store the API key as a GitHub repository secret:\n     \n     - Go to your GitHub repository\n     - Navigate to **Settings \u003e Secrets and variables \u003e Actions**\n     - Click **New repository secret**\n     - Set the name as ```GOOGLE_API_KEY``` and paste your API key as the value\n     - Click **Add secret**\n\nThis will allow the chatbot to authenticate and communicate with the Gemini API securely.\n\n## Usage\n\n1. Run the chatbot:\n\n   ```bash\n    streamlit run improved_simple_chatbot.py\n  \n2. Interact with the bot:\n\n     Once the script is running, type your messages to the bot in the chat box provided. The bot will then respond based on the input provided.\n\n## Files\n\n- improved_simple_chatbot.py: Main script to run the chatbot with enhanced features.\n- simple_chatbot.py: Initial version of the chatbot script.\n- requirements.txt: List of Python packages required to run the chatbot.\n\n## Acknowledgment\n\nThis project utilizes the Gemini API to power the chatbot's language understanding capabilities. For more information, visit the Hugging Face Space.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvish501%2Fbasic-chat-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvish501%2Fbasic-chat-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvish501%2Fbasic-chat-bot/lists"}