Skip to main content
HomeCode-alongsArtificial Intelligence (AI)

Retrieval Augmented Generation with GPT and Milvus

In this session you'll learn how to get started with Milvus and perform Q&A on some documents using GPT and the RAG technique.
Oct 2023

Large language models (LLMs) like GPT are the must-have technology of the year. Unfortunately, LLMs can't accurately answer questions about your business because they lack enough domain knowledge. The solution is to combine the LLM with a vector database like Milvus—a technique known as retrieval augmented generation (RAG).

In this session you'll learn how to get started with Milvus and perform Q&A on some documents using GPT and the RAG technique.

Key Takeaways:

  • Learn how to store text in the Milvus vector database.
  • Learn how to use retrieval augmented generation to combine Milvus and GPT.
  • Learn how to ask securely questions about business documents

Notes:

  • Please have Python Version 3.9, 3.10 or 3.11 installed
  • Download and install Visual Studio Code on your local machine. Get started here.

How to get LlamaIndex set up and running with Milvus

Code Along with Us!

Additional Resources

[TUTORIAL] How to Build LLM Applications with LangChain

[TUTORIAL] Using ChatGPT to Moderate ChatGPT Responses

[CODE ALONG] An Introduction to GPT & Whisper with the OpenAI API in Python 

Topics
Related

blog

What is Retrieval Augmented Generation (RAG)?

Explore Retrieval Augmented Generation (RAG) RAG: Integrating LLMs with data search for nuanced AI responses. Understand its applications and impact.
Natassha Selvaraj's photo

Natassha Selvaraj

8 min

tutorial

Boost LLM Accuracy with Retrieval Augmented Generation (RAG) and Reranking

Discover the strengths of LLMs with effective information retrieval mechanisms. Implement a reranking approach and incorporate it into your own LLM pipeline.
Iván Palomares Carrascosa's photo

Iván Palomares Carrascosa

11 min

code-along

Retrieval Augmented Generation with LlamaIndex

In this session you'll learn how to get started with Chroma and perform Q&A on some documents using Llama 2, the RAG technique, and LlamaIndex.
Dan Becker's photo

Dan Becker

code-along

Retrieval Augmented Generation with the OpenAI API & Pinecone

Build a movie recommender system using GPT and learn key techniques to minimize hallucinations and ensure factual answers.
Vincent Vankrunkelsven's photo

Vincent Vankrunkelsven

code-along

Chat with Your Documents Using GPT & LangChain

In this code-along, Andrea Valenzuela, Computing Engineer at CERN, and Josep Ferrer Sanchez, Data Scientist at the Catalan Tourist Board, will walk you through building an AI system that can query your documents & data using LangChain & the OpenAI API.
Andrea Valenzuela's photo

Andrea Valenzuela

code-along

Optimizing GPT Prompts for Data Science

This training will aid you in optimizing your personal usage of ChatGPT and when developing powered GPT applications.
Andrea Valenzuela's photo

Andrea Valenzuela

See MoreSee More