{"id":26201685,"url":"https://github.com/coderkun12/german-chatbot","last_synced_at":"2026-04-10T23:34:40.218Z","repository":{"id":281832719,"uuid":"946569286","full_name":"coderkun12/German-Chatbot","owner":"coderkun12","description":"This is a project which was created with a aim of getting basic understanding of LangChain, LangGraph and Flask frameworks. In this project a Chatbot is created which takes questions in any language but answers in German. It is aimed at empowering individuals who can read but mess up while speaking German in real life.","archived":false,"fork":false,"pushed_at":"2025-05-27T09:16:15.000Z","size":418,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T03:27:13.073Z","etag":null,"topics":["api-rest","chatbot","flask","generative-ai","german","groq-api","langchain","langraph","python"],"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/coderkun12.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,"zenodo":null}},"created_at":"2025-03-11T10:48:03.000Z","updated_at":"2025-05-27T09:16:18.000Z","dependencies_parsed_at":"2025-07-21T03:19:39.980Z","dependency_job_id":"5710272e-a90e-46a4-8bb8-57740e46773a","html_url":"https://github.com/coderkun12/German-Chatbot","commit_stats":null,"previous_names":["coderkun12/german-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coderkun12/German-Chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderkun12%2FGerman-Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderkun12%2FGerman-Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderkun12%2FGerman-Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderkun12%2FGerman-Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderkun12","download_url":"https://codeload.github.com/coderkun12/German-Chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderkun12%2FGerman-Chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273723197,"owners_count":25156303,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api-rest","chatbot","flask","generative-ai","german","groq-api","langchain","langraph","python"],"created_at":"2025-03-12T03:23:16.594Z","updated_at":"2026-04-10T23:34:40.179Z","avatar_url":"https://github.com/coderkun12.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# German ChatBot with Flask, SocketIO, and LangGraph\n\n## Overview\nThis project is a real-time chatbot application that leverages Flask, SocketIO, and LangGraph with the Llama3 model from Groq. The chatbot processes user messages and responds in German while maintaining conversation state.\n\n## Features\n- Real-time chat communication using Flask-SocketIO.\n- AI-powered chatbot using LangChain and LangGraph.\n- Messages formatted in German with bullet points for clarity.\n- Persistent session management for user conversations.\n\n## Technologies Used\n- **Python**: Backend development.\n- **Flask**: Web framework for handling HTTP requests.\n- **Flask-SocketIO**: Enables real-time, bidirectional communication.\n- **LangChain \u0026 LangGraph**: AI workflow processing.\n- **Groq (Llama3-8B-8192)**: AI model provider.\n\n## Installation and Setup\n### Prerequisites\nEnsure you have Python installed (recommended version: 3.8+). Install the required dependencies using:\n```bash\npip install flask flask-socketio langchain-core langgraph typing-extensions\n```\n\n### Set Environment Variables\nSet up the Groq API key before running the application:\n```bash\nexport GROQ_API_KEY='your_groq_api_key'\n```\n(Replace `your_groq_api_key` with your actual API key.)\n\n### Running the Application\n1. Clone the repository:\n```bash\ngit clone \u003crepository_url\u003e\ncd \u003cproject_directory\u003e\n```\n2. Start the Flask server:\n```bash\npython app.py\n```\n3. Open your browser and go to:\n```\nhttp://127.0.0.1:5000/\n```\n\n## Project Structure\n```\n|-- app.py               # Main Flask application with SocketIO\n|-- templates/\n    |-- index.html       # Frontend for the chatbot\n```\n\n## How It Works\n1. **User sends a message** via the web interface.\n2. **Flask-SocketIO handles the message** and assigns a session ID.\n3. **LangGraph processes the message** using Llama3 to generate a response in German.\n4. **Response is formatted and sent back** to the frontend in real-time.\n\n## Future Enhancements\n- Add a ReactJS frontend for an improved user experience.\n- Store chat history using MongoDB.\n- Enhance response formatting for better readability.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderkun12%2Fgerman-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderkun12%2Fgerman-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderkun12%2Fgerman-chatbot/lists"}