Skip to content
Learn Motion
ExploreHow it worksMembership
Log in
Learn Motion

How AI Answers Questions About Documents It Never Learned

1Why the Model Cannot Answer From Your Documents Alone2Chunking and Embedding: Turning Documents Into Something Searchable3Retrieval: Finding the Right Passages for a Question4Grounded Generation: Answering From the Retrieved Text
Retrieval: Finding the Right Passages for a Question

How Many Chunks to Take

3 / 4
That ranked list is longer than anything the model can be handed, so a cut has to be made. Top-k is simply how many of the closest chunks you keep.
0:00 / 0:00

Top-k is the number of closest chunks the system passes forward. A small k keeps the context tight but risks leaving out the one passage that holds the answer; a large k raises the chance of including it but also floods the model with unrelated text that can pull the answer off course. Choosing k is therefore a balance between missing evidence and diluting it.

Previous3 / 4Next

Learn Motion

Generate a course. Learn it properly.

Operated by Wuhan Daoyin Technology Co., Ltd.

Contact: [email protected]
Privacy PolicyTerms of Service

© 2026 Learn Motion