From the course: Oracle Cloud Infrastructure Generative AI Professional Cert Prep
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Demo: RAG: Retrieval and generation using a vector database - Oracle Cloud Infrastructure Tutorial
From the course: Oracle Cloud Infrastructure Generative AI Professional Cert Prep
Demo: RAG: Retrieval and generation using a vector database
(dramatic music playing) - In this demo, we will see how retrieval and generation works with langchain and OCI AI generative service. So we'll begin with the import of the classes. We are importing retrieval QA class. We're importing Chroma Vector database and we're also importing OCI Gen AI and OCI Gen AI Embeddings class. We begin with the creation of the LLM object over here. Next we're creating an HTTP client, which connects to a Chroma database, which we're running locally. We're creating a Chroma vector store here using the client object and the embeddings function. And we're creating a retriever out of this vector store and we're passing on the search type as similarity. So by default, the search type is similarity. Now if you're curious about what all different type of search types are available in langchain, you can visit this page and it basically explains about the different type of search types which are available. So maximum, marginal, relevance, similarities, score…
Contents
-
-
-
-
-
-
(Locked)
Module introduction54s
-
(Locked)
Chatbot introduction1m 16s
-
(Locked)
Demo: Chatbot7m 25s
-
(Locked)
Q&A chatbot architecture and basic components2m 31s
-
(Locked)
Models, prompts, and chains4m 15s
-
(Locked)
Demo: Set up development environment2m 44s
-
(Locked)
Demo: Use prompts, models, and chains10m 22s
-
(Locked)
Extending a chatbot by adding memory1m 52s
-
(Locked)
Demo: Using memory5m 47s
-
(Locked)
Demo: Using memory with Streamlit5m 59s
-
(Locked)
Extending a chatbot by adding RAG and a vector database2m 5s
-
(Locked)
Demo: RAG: Indexing using a vector database5m 24s
-
(Locked)
Demo: RAG: Retrieval and generation using a vector database5m 12s
-
(Locked)
Extending a chatbot by adding RAG plus memory45s
-
(Locked)
Demo: RAG plus memory plus tracing8m 43s
-
(Locked)
Demo: Model evaluation7m 19s
-
(Locked)
Chatbot technical architecture1m 41s
-
(Locked)
Deploy a chatbot to a VM2m 16s
-
(Locked)
Demo: Deploy a chatbot6m 19s
-
(Locked)
Deploy a chatbot to OCI Data Science1m 49s
-
(Locked)
-