{"id":21864170,"url":"https://github.com/afauzulh/simple-ecommerce-chatbot","last_synced_at":"2026-04-05T21:01:53.864Z","repository":{"id":264746810,"uuid":"894249553","full_name":"AFauzulh/simple-ecommerce-chatbot","owner":"AFauzulh","description":"Simple ecommerce product catalogue chatbot using Ollama, LangChain, Streamlit and DummyJSON Product API","archived":false,"fork":false,"pushed_at":"2024-11-26T04:39:36.000Z","size":182,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T20:47:25.092Z","etag":null,"topics":["agent-tools","chatbot","docker","dummyjson-api","langchain","large-language-models","ollama","prompt-engineering"],"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/AFauzulh.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-11-26T02:48:57.000Z","updated_at":"2024-11-26T04:39:39.000Z","dependencies_parsed_at":"2024-11-26T05:25:49.802Z","dependency_job_id":"dc53e027-323a-4308-9809-91f26876e4b1","html_url":"https://github.com/AFauzulh/simple-ecommerce-chatbot","commit_stats":null,"previous_names":["afauzulh/simple-ecommerce-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AFauzulh/simple-ecommerce-chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AFauzulh%2Fsimple-ecommerce-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AFauzulh%2Fsimple-ecommerce-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AFauzulh%2Fsimple-ecommerce-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AFauzulh%2Fsimple-ecommerce-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AFauzulh","download_url":"https://codeload.github.com/AFauzulh/simple-ecommerce-chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AFauzulh%2Fsimple-ecommerce-chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276183751,"owners_count":25599224,"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-20T02:00:10.207Z","response_time":63,"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":["agent-tools","chatbot","docker","dummyjson-api","langchain","large-language-models","ollama","prompt-engineering"],"created_at":"2024-11-28T04:07:44.291Z","updated_at":"2025-09-21T01:46:45.039Z","avatar_url":"https://github.com/AFauzulh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Set up environment\n\n**Pre-requisites :**\n\n1.  Create virtual environment (I'm using [venv](https://docs.python.org/3/library/venv.html))\n2.  Run `pip install -r requirements.txt`\n3.  Download and install [Ollama](https://ollama.com/)\n\n**Ollama**\nAfter installing, open Ollama and run command `ollama run llama3.2` on your terminal to download the pretrained LLM model. In this project, I'm using `llama3.2-3B` because it's lightweight and has good performance.\n\n## Deployment\n\nI'm using Streamlit and Docker to deploy the chatbot.\n\n### Step 1 : Build Docker Image\n\n```bash\n  docker build -t ecommerce-chatbot-app .\n```\n\n### Step 2 : Run Docker Container\n\n```bash\n  docker run -d --restart always --gpus all --name ecommerce-chatbot-app -p 8501:8501 ecommerce-chatbot-app\n```\n\nTo stop and delete the container run\n\n```bash\n  docker stop ecommerce-chatbot-app \u0026\u0026 docker rm ecommerce-chatbot-app\n```\n\n## Chatbot Overview\n\n**Example of Questions**\n![alt text](https://github.com/AFauzulh/simple-ecommerce-chatbot/blob/main/assets/question_1.png?raw=true)\n\n![alt text](https://github.com/AFauzulh/simple-ecommerce-chatbot/blob/main/assets/question_2.png?raw=true)\n\n**Retrieved data from API**\n\n![alt text](https://github.com/AFauzulh/simple-ecommerce-chatbot/blob/main/assets/retrieved_information.png?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafauzulh%2Fsimple-ecommerce-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafauzulh%2Fsimple-ecommerce-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafauzulh%2Fsimple-ecommerce-chatbot/lists"}