{"id":24483990,"url":"https://github.com/uwon0625/rag-agent-for-hospital","last_synced_at":"2026-04-04T08:41:26.001Z","repository":{"id":268318720,"uuid":"802947996","full_name":"uwon0625/rag-agent-for-hospital","owner":"uwon0625","description":"Retrieval Augmented Generation (RAG) Chatbot for Hospital","archived":false,"fork":false,"pushed_at":"2024-05-19T17:29:38.000Z","size":639,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T20:36:19.932Z","etag":null,"topics":["agents","ai","chatbot","docker","docker-compose","etl","etl-pipeline","full-stack","generative-ai","healthcare","hospital","neo4j","prompt-engineering","rag","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/uwon0625.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-05-19T17:27:26.000Z","updated_at":"2024-12-25T05:32:04.000Z","dependencies_parsed_at":"2024-12-16T02:35:26.857Z","dependency_job_id":"f356e8cf-a5d4-41c2-965e-49f51cc67b87","html_url":"https://github.com/uwon0625/rag-agent-for-hospital","commit_stats":null,"previous_names":["uwon0625/rag-agent-for-hospital"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uwon0625/rag-agent-for-hospital","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwon0625%2Frag-agent-for-hospital","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwon0625%2Frag-agent-for-hospital/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwon0625%2Frag-agent-for-hospital/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwon0625%2Frag-agent-for-hospital/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uwon0625","download_url":"https://codeload.github.com/uwon0625/rag-agent-for-hospital/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwon0625%2Frag-agent-for-hospital/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262520862,"owners_count":23323782,"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":["agents","ai","chatbot","docker","docker-compose","etl","etl-pipeline","full-stack","generative-ai","healthcare","hospital","neo4j","prompt-engineering","rag","streamlit"],"created_at":"2025-01-21T13:13:23.955Z","updated_at":"2025-12-30T20:06:43.566Z","avatar_url":"https://github.com/uwon0625.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Retrieval Augmented Generation (RAG) Chatbot for Hospital\n\nBuild a RAG chatbot agent in LangChain that uses Neo4j to based on OpenAI API/LLM and retrieved hospital sample data(including patients, patient experiences, hospital locations, visits, insurance payers, and physicians).\n\n## Project Setup\n\nCreate a `.env` file in the root directory and add the following environment variables:\n\n```.env\nOPENAI_API_KEY=...\n\nNEO4J_URI=...\nNEO4J_USERNAME=...\nNEO4J_PASSWORD=...\n\nHOSPITALS_CSV_PATH=...\nPAYERS_CSV_PATH=...\nPHYSICIANS_CSV_PATH=...\nPATIENTS_CSV_PATH=...\nVISITS_CSV_PATH=...\nREVIEWS_CSV_PATH=...\n\nHOSPITAL_AGENT_MODEL=gpt-3.5-turbo-1106\nHOSPITAL_CYPHER_MODEL=gpt-3.5-turbo-1106\nHOSPITAL_QA_MODEL=gpt-3.5-turbo-0125\n\nCHATBOT_URL=http://host.docker.internal:8000/hospital-rag-agent\n```\n\nThe three `NEO4J_` variables are used to connect to your Neo4j AuraDB instance. Follow the directions [here](https://neo4j.com/cloud/platform/aura-graph-database/?ref=docs-nav-get-started) to create a free instance.\n\nWhen you have a running Neo4j instance, and have filled out all the environment variables in `.env`, you can run the entire project with [Docker Compose](https://docs.docker.com/compose/). You can install Docker Compose by following [these directions](https://docs.docker.com/compose/install/).\n\nAfter you've filled in all of the environment variables, set up a Neo4j AuraDB instance, and installed Docker Compose, open a terminal and run:\n\n```console\n$ docker-compose up --build\n```\n\nAfter each container finishes building, you'll be able to access the chatbot API at `http://localhost:8000/docs` and the Streamlit app at `http://localhost:8501/`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuwon0625%2Frag-agent-for-hospital","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuwon0625%2Frag-agent-for-hospital","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuwon0625%2Frag-agent-for-hospital/lists"}