{"id":15164704,"url":"https://github.com/to-infinitee/llama-chatbots","last_synced_at":"2026-02-18T00:31:28.201Z","repository":{"id":254195918,"uuid":"834132626","full_name":"to-infinitee/llama-chatbots","owner":"to-infinitee","description":"This project showcases between two LlamaCpp AI chatbots on Zephyr Model","archived":false,"fork":false,"pushed_at":"2024-08-21T23:35:23.000Z","size":1947,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T20:59:32.599Z","etag":null,"topics":["ai","chatbot","chatgpt","conversational-ai","flask","llama","python","zephyr"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/to-infinitee.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":"2024-07-26T13:41:43.000Z","updated_at":"2024-08-21T23:43:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"2bbecf5d-e85a-47da-813e-eb75059a4fb8","html_url":"https://github.com/to-infinitee/llama-chatbots","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"747643190a40ebd4a43621962bbe4e3bd1e1b4b9"},"previous_names":["to-infinitee/miniature-octo-lamp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/to-infinitee/llama-chatbots","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/to-infinitee%2Fllama-chatbots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/to-infinitee%2Fllama-chatbots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/to-infinitee%2Fllama-chatbots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/to-infinitee%2Fllama-chatbots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/to-infinitee","download_url":"https://codeload.github.com/to-infinitee/llama-chatbots/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/to-infinitee%2Fllama-chatbots/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29563467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T21:50:49.831Z","status":"ssl_error","status_checked_at":"2026-02-17T21:46:15.313Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["ai","chatbot","chatgpt","conversational-ai","flask","llama","python","zephyr"],"created_at":"2024-09-27T04:00:19.411Z","updated_at":"2026-02-18T00:31:28.166Z","avatar_url":"https://github.com/to-infinitee.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\n# LLama Chatbot Demo\n\n\n![Demo](demo.gif)\n\n\nWelcome to the Self-Talking Chatbot Platform repository! This project showcases engaging interactions between two AI chatbots, Ahmed and Ayse, using a local instance of the Zephyr language model. The chatbots engage in conversation through a web interface built with Flask and JavaScript, providing an example of AI-driven communication.\n\n# # Features\n\n- **Automated Chatbot Dialogue**: Two chatbots named Ahmed and Ayse engage in conversation without human input after the initial prompt.\n- **Distinct Visual Themes**: Each chatbot has a unique visual theme with messages color-coded—green for Ahmed and pink for Ayse.\n- **Responsive Design**: The chat interface is responsive, ensuring a seamless experience across various devices and screen sizes.\n\n# # Installation and Setup\n\nBefore you begin, make sure Python 3.x is installed on your system. This project uses the LlamaCpp Zephyr model, which you need to set up locally.\n\n# ## Zephyr Model Setup\n\n1. Download the Zephyr model from [LangChain's official repository](https://github.com/LangChain/langchain) or your model provider.\n2. Take note of the model's file path after downloading it, as you'll need to reference it in your Flask application.\n\n### GPU Compatibility\n\nThe chatbot platform is designed to work both with and without a GPU. If a GPU is available on the system, the platform will automatically leverage it to enhance performance, particularly in speeding up the language model's response generation. In the absence of a GPU, the platform will default to using the CPU. This flexibility ensures that the platform can be deployed on a variety of hardware setups, from personal laptops to high-end servers.\n\n\n# ## Project Installation\n\nClone the repository and navigate to the project directory:\n ```\n\ngit clone https://github.com/to-infinitee/llama-chatbots.git\ncd llama-chatbots\n ```\nCreate and activate a virtual environment:\n ```\npython -m venv venv\nsource venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n ```\n# Install the required dependencies:\n\n ```\npip install -r requirements.txt\n ```\n\n# ## Project Structure\nEnsure your project directory is structured as follows:\n ```\nllama-chatbots/\n│\n├── templates/\n│   └── chatVSchat.html  # The HTML template for the chat interface\n│\n├── static/\n│   └── css/             # (Optional) CSS files for styling\n│\n├── chatbot_VS_chatbot.py       # The main Flask application file\n└── requirements.txt     # Required Python dependencies ```\n ```\n# ## Running the Application\nStart the Flask server:\n ```\npython chatbot_VS_chatbot.py\n ```\n \nOpen a web browser and go to http://localhost:5000 to view the chat interface.\nUsage\n```\n```\n# ## Chat Initiation\nTo initiate the conversation, type a message into either Ahmed's or Ayse's message box. After the initial input, the chatbots will continue the conversation on their own.\nContributions\n\n## Stopping the Chat\n\nTo end the chat conversation between the two chatbots, simply type 'goodbye' in either of the chat inputs. This will signal the chatbots to stop their current conversation.\n\n## Known Glitch\n\nPlease note, there is a known glitch in the system: If you try to interrupt the ongoing chat with a new message, the program might crash. We are aware of this issue and are working on a fix. In the meantime, we appreciate your patience and understanding.\nContributions are welcome. If you have ideas for improvement or want to contribute, please fork the repository, make your changes, and create a pull request.\nLicense\n\nThis project is licensed under the MIT License.\n\nIf you have any questions, comments, or concerns, please open an issue in this repository.\n\nThank you for exploring the Self-Talking Chatbot Platform!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fto-infinitee%2Fllama-chatbots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fto-infinitee%2Fllama-chatbots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fto-infinitee%2Fllama-chatbots/lists"}