{"id":24154887,"url":"https://github.com/0xzee/streamlit_txt2sql_agent","last_synced_at":"2025-03-01T22:28:14.298Z","repository":{"id":270350262,"uuid":"910088605","full_name":"0xZee/streamlit_txt2sql_Agent","owner":"0xZee","description":"Streamlit \"Text-to-SQL\" Agentic Chatbot App powered by Lang-Graph","archived":false,"fork":false,"pushed_at":"2025-02-11T16:38:56.000Z","size":329,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T17:42:42.969Z","etag":null,"topics":["groq","langchain","langgraph","llama3-2","memory-management","mixtral-8x7b-instruct","session-management","sessionstorage","sql","sqlite3","streamlit"],"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/0xZee.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-12-30T13:16:13.000Z","updated_at":"2025-02-11T16:39:00.000Z","dependencies_parsed_at":"2025-01-20T22:54:53.598Z","dependency_job_id":"0047b48c-d9c9-47a6-a710-dc5756f992c9","html_url":"https://github.com/0xZee/streamlit_txt2sql_Agent","commit_stats":null,"previous_names":["0xzee/streamlit_txt2sql_agent"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xZee%2Fstreamlit_txt2sql_Agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xZee%2Fstreamlit_txt2sql_Agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xZee%2Fstreamlit_txt2sql_Agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xZee%2Fstreamlit_txt2sql_Agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xZee","download_url":"https://codeload.github.com/0xZee/streamlit_txt2sql_Agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241435159,"owners_count":19962399,"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":["groq","langchain","langgraph","llama3-2","memory-management","mixtral-8x7b-instruct","session-management","sessionstorage","sql","sqlite3","streamlit"],"created_at":"2025-01-12T12:26:34.400Z","updated_at":"2025-03-01T22:28:14.254Z","avatar_url":"https://github.com/0xZee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 Chat with Databases\n## 🤖 `Text to SQL` Agentic langgraph chatbot\nStreamlit `Text to SQL` Agentic ChatBot app built with `langgraph workflow` :\n- Workflow : `LangGraph` Workflow with text-to-query, sqlite, and memory \u0026 session management\n- Inference \u0026 LLM : `Groq Inference`, Model : `llama3.2 3b`\n\n## Interface :\n![ChatBot App](t2s.jpg)\n\n# Steps :\n- Put `GROQ_API_KEY` in `.streamlit/secrets.toml`\n- Put your csv file in `/data` folder\n- Use script `/utils/csv_to_sqlite.py` to create `sqlite` databases\n- Run the App :\n```python\npip install -r requirements.txt\nstreamlit run main.py\n```\n\n\n# 📊 LangGraph WorkFlow\nLangGraph Work-Flow\n\n![Workflow](wf.png)\n\n# ⌨ APP DOCKERFILE : \nTo build the App from Dockerfile\n\n```bash\ndocker build -t chatbot-app .\ndocker run -p 8501:8501 \\\n    -e GROQ_API_KEY=your_groq_api_key \\\n    chatbot-app\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xzee%2Fstreamlit_txt2sql_agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xzee%2Fstreamlit_txt2sql_agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xzee%2Fstreamlit_txt2sql_agent/lists"}