{"id":20825884,"url":"https://github.com/upstatement/hbs-faculty-rag-apps","last_synced_at":"2026-04-19T21:05:14.165Z","repository":{"id":229661400,"uuid":"768353821","full_name":"Upstatement/hbs-faculty-RAG-apps","owner":"Upstatement","description":"apps exploring RAG with hbs faculty directory","archived":false,"fork":false,"pushed_at":"2024-04-08T12:49:12.000Z","size":25940,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T17:48:31.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Upstatement.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-03-06T23:35:20.000Z","updated_at":"2024-04-03T16:24:04.000Z","dependencies_parsed_at":"2025-01-18T17:53:55.437Z","dependency_job_id":null,"html_url":"https://github.com/Upstatement/hbs-faculty-RAG-apps","commit_stats":null,"previous_names":["whichlight/hbs-faculty-rag-apps","upstatement/hbs-faculty-rag-apps"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Upstatement%2Fhbs-faculty-RAG-apps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Upstatement%2Fhbs-faculty-RAG-apps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Upstatement%2Fhbs-faculty-RAG-apps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Upstatement%2Fhbs-faculty-RAG-apps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Upstatement","download_url":"https://codeload.github.com/Upstatement/hbs-faculty-RAG-apps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243173219,"owners_count":20248063,"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":[],"created_at":"2024-11-17T23:07:02.035Z","updated_at":"2025-12-24T21:51:55.222Z","avatar_url":"https://github.com/Upstatement.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HBS Faculty Directory RAG Apps\n\nThese are two prototypes to explore the [HBS Faculty Directory](https://www.hbs.edu/faculty/Pages/browse.aspx?faculty=Current) using retrieval augmented generation (RAG).\n\nThe backend under `app.py` is a llamaindex chat engine that queries a vector store in `chroma_db`\n\nThe main guidance-refinement prototype is `user-query-form/` which uses a form input to build the RAG query, and then LLM-driven suggested questions for follow up responses.\n\n`chat-app/` contains a chat app that takes the input and uses that for queries to the llamaindex chat engine, and directly displays the responses.\n\n## Installation\n\nInstall git-lfs, which is used to store the vector DB. Then clone this repo.\n\nMake a copy of `.env-example` to `.env` and add your OpenAI key.\n\nStart a virtual environment with `venv`, running `python -m venv venv` and then start it with `source venv/bin/activate`.\n\ninstall dependencies `pip install -r requirements.txt`\n\nIn each of the prototype directories `user-query-form` and `chat-app`, install the respective app with `npm install`.\n\n## Running\n\nNavigate to the frontend app in `user-query-form/` and run `npm run build`. Start the server with `python3 app.py`\n\nIf instead you are running the chat app, navigate to `chat-app/` and `npm run build`, then start the server with `python3 chat_server.py`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupstatement%2Fhbs-faculty-rag-apps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fupstatement%2Fhbs-faculty-rag-apps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupstatement%2Fhbs-faculty-rag-apps/lists"}