{"id":14065006,"url":"https://github.com/amjadraza/embedchain-streamlit-app","last_synced_at":"2025-07-29T19:33:52.452Z","repository":{"id":176609867,"uuid":"659163735","full_name":"amjadraza/embedchain-streamlit-app","owner":"amjadraza","description":"A Chat App built with embedchain and streamlit","archived":false,"fork":false,"pushed_at":"2023-10-02T19:01:20.000Z","size":972,"stargazers_count":41,"open_issues_count":1,"forks_count":22,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-13T07:07:57.035Z","etag":null,"topics":["deeplearning","generativeai","llms","nlp-machine-learning","python"],"latest_commit_sha":null,"homepage":"https://embedchain.streamlit.app/","language":"Python","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/amjadraza.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":"2023-06-27T09:05:55.000Z","updated_at":"2024-08-13T07:08:12.072Z","dependencies_parsed_at":"2024-08-13T07:08:00.793Z","dependency_job_id":"52801a30-6e9b-425c-a218-22ae827cc818","html_url":"https://github.com/amjadraza/embedchain-streamlit-app","commit_stats":null,"previous_names":["amjadraza/embedchain-streamlit-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amjadraza%2Fembedchain-streamlit-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amjadraza%2Fembedchain-streamlit-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amjadraza%2Fembedchain-streamlit-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amjadraza%2Fembedchain-streamlit-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amjadraza","download_url":"https://codeload.github.com/amjadraza/embedchain-streamlit-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228045978,"owners_count":17861072,"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":["deeplearning","generativeai","llms","nlp-machine-learning","python"],"created_at":"2024-08-13T07:04:14.005Z","updated_at":"2024-12-04T04:30:35.132Z","avatar_url":"https://github.com/amjadraza.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n📖 EmbedChain-Streamlit-Docker App Template\n\u003c/h1\u003e\n\n[![A Video Guide](ui.PNG?raw=true)](https://youtu.be/yJAWB13FhYQ)\n\n[https://youtu.be/yJAWB13FhYQ](https://youtu.be/yJAWB13FhYQ)\n\n\n## 🔧 Features\n\n- Basic Skeleton App configured with `openai` API\n- A ChatBot using embedchain and Streamlit\n- Docker Support with Optimisation Cache etc\n- Deployment on Streamlit Public Cloud\n\nThis repo contains an `main.py` file which has a template for a chatbot implementation.\n\n## Example Input Data:\n\nSelect the number of Data Sources from slider and enter the details.\n\n\n| Source    | URL |\n| -------- | ------- |\n| youtube  | https://www.youtube.com/watch?v=3qHkcs3kG44   |\n| pdf_file |https://navalmanack.s3.amazonaws.com/Eric-Jorgenson_The-Almanack-of-Naval-Ravikant_Final.pdf    |\n| web    | https://nav.al/feedback  |\n|qna_pair| \"Who is Naval Ravikant?\", \"Naval Ravikant is an Indian-American entrepreneur and investor.\" |\n\n**Question:** What unique capacity does Naval argue humans possess when it comes to understanding explanations or concepts?\n\n\n## Adding your chain\nTo add your chain, you need to change the `load_chain` function in `main.py`.\nDepending on the type of your chain, you may also need to change the inputs/outputs that occur later on.\n\n\n## 💻 Running Locally\n\n1. Clone the repository📂\n\n```bash\ngit clone https://github.com/amjadraza/embedchain-streamlit-app.git\n```\n\n2. Install dependencies with [Poetry](https://python-poetry.org/) and activate virtual environment🔨\n\n```bash\npoetry install\npoetry shell\n```\n\n3. Run the Streamlit server🚀\n\n```bash\nstreamlit run demo_app/main.py \n```\n\nRun App using Docker\n--------------------\nThis project includes `Dockerfile` to run the app in Docker container. In order to optimise the Docker Image\nsize and building time with cache techniques, I have follow tricks in below Article \nhttps://medium.com/@albertazzir/blazing-fast-python-docker-builds-with-poetry-a78a66f5aed0\n\nBuild the docker container\n\n``docker  build . -t embedchain-streamlit-app:latest ``\n\nTo generate Image with `DOCKER_BUILDKIT`, follow below command\n\n```DOCKER_BUILDKIT=1 docker build --target=runtime . -t embedchain-streamlit-app:latest```\n\n1. Run the docker container directly \n\n``docker run -d --name embedchain-streamlit-app -p 8080:8080 embedchain-streamlit-app:latest ``\n\n2. Run the docker container using docker-compose (Recommended)\n\n``docker-compose up``\n\n\nDeploy App on Streamlit Public Cloud\n------------------------------------\nThis app can be deployed on Streamlit Public Cloud using GitHub. Below is the Link to \nPublicly deployed App\n\nhttps://embedchain.streamlit.app/\n\n\n\n## Report Feedbacks\n\nAs `embedchain-streamlit-app:latest` is a template project with minimal example. Report issues if you face any. \n\n## DISCLAIMER\n\nThis is a template App, when using with openai_api key, you will be charged a nominal fee depending\non number of prompts etc.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famjadraza%2Fembedchain-streamlit-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famjadraza%2Fembedchain-streamlit-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famjadraza%2Fembedchain-streamlit-app/lists"}