{"id":26982937,"url":"https://github.com/pritom007/ollama_chatbot","last_synced_at":"2025-04-03T16:36:58.932Z","repository":{"id":246305795,"uuid":"790924406","full_name":"pritom007/ollama_chatbot","owner":"pritom007","description":"A ollama based chatbot. We use llama3 8b model via groq for this project.","archived":false,"fork":false,"pushed_at":"2025-03-11T02:50:52.000Z","size":270,"stargazers_count":7,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T03:27:03.470Z","etag":null,"topics":["chatbot","chatbot-framework","chatgpt","groq","llm","openai","opensource"],"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/pritom007.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-04-23T19:18:44.000Z","updated_at":"2025-03-11T02:48:11.000Z","dependencies_parsed_at":"2025-03-11T03:34:10.864Z","dependency_job_id":null,"html_url":"https://github.com/pritom007/ollama_chatbot","commit_stats":null,"previous_names":["pritom007/ollama_chatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritom007%2Follama_chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritom007%2Follama_chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritom007%2Follama_chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritom007%2Follama_chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pritom007","download_url":"https://codeload.github.com/pritom007/ollama_chatbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247039478,"owners_count":20873541,"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","chatbot-framework","chatgpt","groq","llm","openai","opensource"],"created_at":"2025-04-03T16:36:58.421Z","updated_at":"2025-04-03T16:36:58.919Z","avatar_url":"https://github.com/pritom007.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Ollama Chatbot\n\nThis project is a web-based chat application powered by the Ollama model. It's built using Flask, a lightweight WSGI web application framework in Python. The app is designed to handle conversations, maintain context, and integrate with external data sources for enriched interaction capabilities.\n\n## Features\n\n- Real-time chatting experience with contextual memory.\n- New chat session initiation from the UI.\n- Chat session history display on the sidebar.\n- Integration with external data sources like databases and file systems for dynamic responses.\n- Markdown rendering for rich text responses.\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\nWhat you need to install the software:\n\n- Python 3.6+\n- pip\n- Virtual environment (recommended)\n\n### Installation\n\n1. Clone the repository to your local machine:\n\n   ```sh\n   git clone https://github.com/pritom007/ollama_chatbot.git\n\n2. Navigate to the cloned directory:\n\n   ```bash\n   cd ollama_chatbot\n\n3. Create a virtual environment:\n\n    ```bash\n    python -m venv venv\n\n4. Activate the virtual environment:\n\n    - On Mac/Linux env:\n\n    ```bash\n    source venv/bin/activate\n\n    - On Windows:\n\n    ```bash\n    .\\venv\\Scripts\\activate\n\n\n5. Install the required packages:\n\n    ```bash\n    pip install -r requirements.txt\n\n6. Start the Flask application:\n\n    ```bash\n    flask run\n    ```\n    Or with Python directly:\n\n    ```bash\n    python3 app.py\n    ```\n\n### Usage\n\nOpen your web browser and navigate to http://127.0.0.1:5000/ to start chatting with the Ollama chatbot.\n    \nTo initiate a new chat session, click the \"New Chat\" button.\n\nClick on a chat session in the sidebar to view its history.\n\n### Built With\n    \n#### Flask - The web framework used\n    \n#### Ollama - OpenAI's model library for chatbot functionality\n    \n#### HTML/CSS/JS - Frontend technologies\n\n### Contributing\n    \nPlease read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.\n\n### Authors\n    \nYour Name - Initial work - YourUsername    \n\nSee also the list of contributors who participated in this project.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpritom007%2Follama_chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpritom007%2Follama_chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpritom007%2Follama_chatbot/lists"}