{"id":26644978,"url":"https://github.com/dev-sire/sire-chatbot","last_synced_at":"2026-04-28T22:35:04.287Z","repository":{"id":284217699,"uuid":"954223994","full_name":"dev-sire/sire-chatbot","owner":"dev-sire","description":"An interactive chat application powered by Google's Gemini, designed to assist with coding tasks and provide AI-driven support.","archived":false,"fork":false,"pushed_at":"2025-03-24T18:52:24.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T19:37:59.644Z","etag":null,"topics":["gemini-api","python3","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dev-sire.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-24T18:45:48.000Z","updated_at":"2025-03-24T19:29:18.000Z","dependencies_parsed_at":"2025-03-24T19:48:09.602Z","dependency_job_id":null,"html_url":"https://github.com/dev-sire/sire-chatbot","commit_stats":null,"previous_names":["dev-sire/sire-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dev-sire/sire-chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-sire%2Fsire-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-sire%2Fsire-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-sire%2Fsire-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-sire%2Fsire-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-sire","download_url":"https://codeload.github.com/dev-sire/sire-chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-sire%2Fsire-chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32402671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"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":["gemini-api","python3","streamlit"],"created_at":"2025-03-24T21:21:13.120Z","updated_at":"2026-04-28T22:35:04.272Z","avatar_url":"https://github.com/dev-sire.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gemini Chatbot Interface with Streamlit\n\n## Overview\n\nThis project is a Streamlit-based chat application that interacts with the Gemini AI model, allowing users to engage in conversations with an artificial intelligence assistant. The application stores chat history, allowing users to revisit and continue previous conversations.\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"docs/pic.png\" width=\"800\"\u003e\u003c/div\u003e\n\n## Getting Started\n\n### Dependencies\n\nThis code uses the following libraries:\n\n- `streamlit`: for building the user interface. \n- `gemini`: for chat  \n- Gemini API key: Get it from [Google AI Studio](https://ai.google.dev/tutorials/setup?hl=tr)\n\n\n### Usage\n\nFollow these steps to set up and run the project:\n\n1. Create a virtual environment:\n```\npython3 -m venv my_env\nsource my_env/bin/activate \n.\\my_env\\Scripts\\activate \n```\n\n2. Install dependencies:\n```\npip install -r requirements.txt\n```\n\n3. Run the Streamlit server:\n```\nstreamlit run app_chat.py\n```\n\n4. Access the application in your browser at http://localhost:8501.\n\n5. Start chatting with the assistant!\n\n## Repository Structure\n```\nrepository/\n├── app_chat.py               # the code and UI integrated together live here\n├── requirements.txt     # the python packages needed to run locally\n├── .streamlit/\n│   └── config.toml      # theme info for the UI\n├── data/                # folder for saved chat messages \n├── docs/                # preview for github\n\n```\n\n## How it Works\n\nThe app as follows:\n\n1. The user enters a question in the input field.\n\n2. User messages are sent to the Gemini model for processing.\n\n3. The user's input, along with the chat history, is used to generate a response.\n\n4. The Gemini model generates a response based on the patterns it learned during training.\n\n5. The application saves chat messages and Gemini AI chat history to files for later retrieval.\n\n6. A new chat is created if the user initiates a conversation that hasn't been stored before, or user can go back to past chats.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-sire%2Fsire-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-sire%2Fsire-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-sire%2Fsire-chatbot/lists"}