Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Document Context and Retrieval-Augmented Generation (RAG)

via CodeSignal

Overview

Enhance your email assistant by integrating external documents and context. Learn to use Retrieval-Augmented Generation (RAG) to make agent responses more informed and personalized.

Syllabus

  • Unit 1: Introducing Documents and Context for RAG
    • Creating Your First Context Document
    • Reading External Documents
    • Preparing Documents for RAG Systems
    • Inspecting the Context Document
  • Unit 2: Chunking Documents for Efficient Retrieval
    • Splitting our Context Document
    • Splitting the Document with a Medium Chunk Size
    • Visualizing Chunk Boundaries and Overlaps
    • Fixing the Chunking Error
  • Unit 3: Embedding Chunks and Storing in a Vector Database
    • Creating Text Embeddings
    • Initializing the Database
    • Preparing the Database Index
    • Writing to the Vector Database
    • Adding Metadata to the Database
  • Unit 4: Querying for Relevant Context with Embeddings
    • Embedding a Singular String
    • Finding Relevant Email Context
    • Semantic Search for Context
  • Unit 5: Integrating Retrieved Context into Agent Responses
    • Creating a Vector Query Tool
    • Adding the Query Tool to our Agent
    • Informing our Agent of the Tool
    • Using our RAG-Powered Agent

Reviews

Start your review of Document Context and Retrieval-Augmented Generation (RAG)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.