{"id":32932455,"url":"https://github.com/dinethjanitha/chatbot","last_synced_at":"2026-05-03T11:34:00.081Z","repository":{"id":323041852,"uuid":"1091916065","full_name":"dinethjanitha/chatbot","owner":"dinethjanitha","description":"Chat bot","archived":false,"fork":false,"pushed_at":"2025-11-07T17:58:07.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-07T19:22:32.507Z","etag":null,"topics":["agentic-ai","fastapi","gemini-pro","langchain"],"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/dinethjanitha.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-07T17:56:53.000Z","updated_at":"2025-11-07T18:02:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dinethjanitha/chatbot","commit_stats":null,"previous_names":["dinethjanitha/chatbot"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dinethjanitha/chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinethjanitha%2Fchatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinethjanitha%2Fchatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinethjanitha%2Fchatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinethjanitha%2Fchatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinethjanitha","download_url":"https://codeload.github.com/dinethjanitha/chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinethjanitha%2Fchatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["agentic-ai","fastapi","gemini-pro","langchain"],"created_at":"2025-11-11T18:00:53.699Z","updated_at":"2026-05-03T11:34:00.062Z","avatar_url":"https://github.com/dinethjanitha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chatbot with LangChain and Google Gemini\n\nThis project is a chatbot built using LangChain and Google's Gemini AI model.\n\n## Prerequisites\n\n- Python 3.8 or higher\n- pip (Python package manager)\n- Google API Key for Gemini\n\n## Setup Instructions\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/dinethjanitha/chatbot\ncd chatbot\n```\n\n### 2. Create Virtual Environment\n\n```bash\npython -m venv .\n```\n\n### 3. Activate Virtual Environment\n\n**Windows (PowerShell):**\n```powershell\n.\\Scripts\\Activate.ps1\n```\n\n**Windows (CMD):**\n```cmd\n.\\Scripts\\activate.bat\n```\n\n**Linux/Mac:**\n```bash\nsource bin/activate\n```\n\n### 4. Install Dependencies\n\nInstall from requirements file (if available):\n```bash\npip install -r requirements.txt\n```\n\n### 5. Set Up Google Gemini API Key\n\n1. Get your API key from [Google AI Studio](https://makersuite.google.com/app/apikey)\n2. Create a `.env` file in the project root:\n\n```bash\nGOOGLE_API_KEY=your_api_key_here\n```\n\n## Project Structure\n\n```\nchatbot/\n├── main.py              # Main application file\n├── agents/              # Agent-related modules\n│   └── tools.py         # Custom tools for agents\n├── README.md            # This file\n├── .env                 # Environment variables (create this)\n└── requirements.txt     # Python dependencies\n```\n\n## Running the Application\n\n```bash\nfastapi dev main.py\n```\n\n## Documentation References\n\n### LangChain Documentation\n- **Official Documentation**: [https://python.langchain.com/docs/](https://python.langchain.com/docs/)\n- **LangChain Google Gemini Integration**: [https://python.langchain.com/docs/integrations/chat/google_generative_ai](https://python.langchain.com/docs/integrations/chat/google_generative_ai)\n- **LangGraph Documentation**: [https://langchain-ai.github.io/langgraph/](https://langchain-ai.github.io/langgraph/)\n- **LangChain Core Concepts**: [https://python.langchain.com/docs/concepts/](https://python.langchain.com/docs/concepts/)\n\n### Google Gemini Documentation\n- **Gemini API Documentation**: [https://ai.google.dev/docs](https://ai.google.dev/docs)\n- **Get Started with Gemini**: [https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=python](https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=python)\n\n\n## Common Issues and Troubleshooting\n\n### API Key Issues\n- Ensure your `.env` file is in the project root\n- Verify the API key is valid and active\n- Check that `python-dotenv` is installed: `pip install python-dotenv`\n\n### Import Errors\n- Make sure virtual environment is activated\n- Reinstall packages if needed: `pip install --upgrade langchain langchain-google-genai`\n\n### Rate Limiting\n- Gemini API has rate limits. Implement retry logic or use exponential backoff\n- Consider upgrading your API quota if needed\n\n## Changelog\n\nSee [ChangeLog.md](ChangeLog.md) for version history and updates.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinethjanitha%2Fchatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinethjanitha%2Fchatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinethjanitha%2Fchatbot/lists"}