Langchain Summary and QA with Chromadb using OpenAI Embeddings and GPT 3 with token count
echohive
- 1 hours
- Beginner
- Free
- Online
We will build 5 different Summary and QA Langchain apps using Chromadb as OpenAI embeddings vector store. We will use GPT 3 API to summarize documents and get answers to questions using context. We will learn how to count tokens and build a custom prompt for langchain. We will also learn to use different chain types such as "stuff", "map reduce", "refine" and "map rerank"
00:00 Intro and Documnetation:
02:20 Installing everything from scratch
04:15 Code review for Summary
07:59 Code review for Stuff chain type
15:14 Code review for Map Reduce chain type
17:55 Code review for Refine chain type
18:22 Code review for Map Rerank chain type