From the course: Advanced RAG Applications with Vector Databases
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Challenge: Change the chunk size
From the course: Advanced RAG Applications with Vector Databases
Challenge: Change the chunk size
(upbeat electronic music) - [Instructor] When we run the chunking section of the notebook, we can see that there's some warnings produced. Some of the chunks are larger than the specified chunk size. In this challenge, we're going to modify the code slightly so that our chunks stay within the chunk size without enforcing any rules that will break semantic coherence of each chunk. Here's a hint. You can read the code for CharacterTextSplitter to solve this challenge. So go ahead and give this a try and see you in the solution video.
Contents
-
-
-
(Locked)
Introduction to preprocessing for RAG4m 57s
-
Chunking considerations5m 12s
-
(Locked)
Chunking examples4m 32s
-
(Locked)
Introduction to embeddings9m 50s
-
(Locked)
Embedding examples2m 57s
-
(Locked)
Metadata3m 12s
-
(Locked)
Demo: Chunking2m 32s
-
(Locked)
Demo: Metadata1m 23s
-
(Locked)
Demo: Embed and store2m
-
(Locked)
Demo: Querying1m 8s
-
(Locked)
Demo: Adding the LLM2m 1s
-
(Locked)
Challenge: Cite your document sources47s
-
(Locked)
Solution: Cite your document sources59s
-
(Locked)
Challenge: Change the chunk size44s
-
(Locked)
Solution: Change the chunk size55s
-
(Locked)
-
-
-