Advanced Retrieval for AI with Chroma
Instructor: Anton Troynikov
- Intermediate
- 0 Hours 53 Minutes
- 7 Video Lessons
- 5 Code Examples
- Instructor: Anton Troynikov
What you'll learn
Learn to recognize when queries are producing poor results.
Learn to use a large language model (LLM) to improve your queries.
Learn to fine-tune your embeddings with user feedback.
About this course
Information Retrieval (IR) and Retrieval Augmented Generation (RAG) are only effective if the information retrieved from a database as a result of a query is relevant to the query and its application.
Too often, queries return semantically similar results but don’t answer the question posed. They may also return irrelevant material which can distract the LLM from the correct results.
This course teaches advanced retrieval techniques to improve the relevancy of retrieved results.
The techniques covered include:
- Query Expansion: Expanding user queries improves information retrieval by including related concepts and keywords. Utilizing an LLM makes this traditional technique even more effective. Another form of expansion has the LLM suggest a possible answer to the query which is then included in the query.
- Cross-encoder reranking: Reranking retrieval results to select the results most relevant to your query improves your results.
- Training and utilizing Embedding Adapters: Adding an adapter layer to reshape embeddings can improve retrieval by emphasizing elements relevant to your application.
Who should join?
Anyone who has intermediate Python knowledge and wants to learn advanced retrieval techniques for retrieving data from their vector database.
Course Outline
7 Lessons・5 Code ExamplesIntroduction
Video・3 mins
Overview of embeddings-based retrieval
Video with code examples・12 mins
Pitfalls of retrieval - when simple vector search fails
Video with code examples・11 mins
Query Expansion
Video with code examples・9 mins
Cross-encoder re-ranking
Video with code examples・6 mins
Embedding adaptors
Video with code examples・8 mins
Other Techniques
Video・1 mins
Instructor
Advanced Retrieval for AI with Chroma
- Intermediate
- 0 Hours 53 Minutes
- 7 Video Lessons
- 5 Code Examples
- Instructor: Anton Troynikov
Course access is free for a limited time during the DeepLearning.AI learning platform beta!
Want to learn more about Generative AI?
Keep learning with updates on curated AI news, courses, and events, as well as Andrew’s thoughts from DeepLearning.AI!