MENU

Fun & Interesting

RAG+LangChain Health Chatbot in 100 Lines of Code

Alice Heiman 540 9 months ago
Video Not Working? Fix It Now

GitHub: https://github.com/aliceheiman/YouTube/tree/main/nih-rag Pip install command: pip install --upgrade --quiet langchain langchain-community langchainhub langchain-openai langchain-chroma bs4 References: - Quickstart for Question Answering: https://python.langchain.com/v0.1/docs/use_cases/question_answering/quickstart/ - Use OpenAI Embeddings with Chroma: https://python.langchain.com/v0.2/docs/integrations/vectorstores/chroma/#use-openai-embeddings - How to Use QA Sources: https://python.langchain.com/v0.2/docs/how_to/qa_sources/ - Chroma Telemetry Documentation: https://docs.trychroma.com/telemetry Timestamps: 00:00 Intro 01:18 Project setup 02:19 Retrieve and chunk documents 04:03 Index, embed, and store documents 04:47 Run pipeline 05:10 Chatbot UI 08:13 Demo 08:43 Outro

Comment