{"id":15616911,"url":"https://github.com/hwchase17/conversation-qa-gradio","last_synced_at":"2025-09-06T05:31:48.949Z","repository":{"id":181854958,"uuid":"667556876","full_name":"hwchase17/conversation-qa-gradio","owner":"hwchase17","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-18T00:15:32.000Z","size":21,"stargazers_count":51,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T20:09:48.075Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hwchase17.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":"2023-07-17T19:27:03.000Z","updated_at":"2024-11-01T08:29:44.000Z","dependencies_parsed_at":"2024-10-28T20:43:03.148Z","dependency_job_id":"20a72ca1-d714-490b-9049-974ef26652b6","html_url":"https://github.com/hwchase17/conversation-qa-gradio","commit_stats":null,"previous_names":["hwchase17/conversation-qa-gradio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hwchase17/conversation-qa-gradio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwchase17%2Fconversation-qa-gradio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwchase17%2Fconversation-qa-gradio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwchase17%2Fconversation-qa-gradio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwchase17%2Fconversation-qa-gradio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hwchase17","download_url":"https://codeload.github.com/hwchase17/conversation-qa-gradio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwchase17%2Fconversation-qa-gradio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273859013,"owners_count":25180811,"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-06T02:00:13.247Z","response_time":2576,"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":[],"created_at":"2024-10-03T07:26:20.564Z","updated_at":"2025-09-06T05:31:48.626Z","avatar_url":"https://github.com/hwchase17.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# LangChain \u003c\u003e Gradio Custom QA Over Docs Bot\n\nThis repo shows how to create a Chatbot over your documents using LangChain and Gradio.\nImportantly, this has an emphasis on using some of the lower level components of LangChain rather than a predefined chain.\n\nThis also uses:\n- Cohere for embeddings\n- ChromaDB for a vectorstore\n- OpenAI for a text generation model\n\n## Setup\n\nTo setup, please install requirements with `pip install -r requirements.txt`\n\nThen, set various environment variables:\n\n```shell\nexport OPENAI_API_KEY=...\nexport COHERE_API_KEY=\n```\n\n## Ingest\n\nFirst, we need to ingest data.\nFor this example, we will work with a state of the union address (`state_of_the_union.txt`).\nYou can modify the code in `ingest.py` to ingest anything you want.\nTo ingest, run `python ingest.py`\n\n## Chat\n\nNow we can chat with this data! In order to do that, run `python app.py`.\nThis will spin up a Gradio application that you can chat with in the frontend.\nFor details on how to customize the chatbot, see the code in `app.py`.\nThe code in `app.py` should be well commented so you can understand what is going on.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwchase17%2Fconversation-qa-gradio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhwchase17%2Fconversation-qa-gradio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwchase17%2Fconversation-qa-gradio/lists"}