引导式测验 · 中等 等级
父文档和从小到大检索测验
测试您对从小到大检索的掌握:子块和父块、句子窗口和自动合并检索,以及何时击败固定块。
问题 1 的 8
小到大检索解决了什么核心权衡?
预览每个问题8 问题
当您参加测验时,就会出现答案和解释。
- 小到大检索解决了什么核心权衡?
- Embedding models are too slow for large documents
- Small chunks match precisely but lack context, while large chunks carry context but match poorly
- Vector databases cannot store documents longer than one page
- Language models can only read one chunk per request
- In a small-to-big system, what is embedded and searched at query time?
- Small child chunks
- Whole parent documents only
- Document titles only
- The model's previous answers
- If three retrieved child chunks all belong to the same parent section, what should the system do?
- Send all three children and the parent
- Discard the children because they overlap
- Send the shared parent once
- Send only the lowest-scoring child
- How does LangChain's ParentDocumentRetriever store the two levels of text?
- Both levels in a single vector index with no links
- Parents in the vector store and children discarded
- Children in a relational table, parents in the model's weights
- Children in a vector store and parents in a separate document store
- What does sentence-window retrieval return?
- Only the single matched sentence
- The matched sentence plus a fixed number of neighboring sentences
- A random sample of sentences from the document
- The document's title and summary
- What does auto-merging retrieval do when enough leaf chunks from the same parent node are retrieved?
- It deletes the parent node from the index
- It asks the user which leaf to keep
- It replaces the leaf chunks with their shared parent node
- It re-embeds the leaves as one vector
- In which situation does small-to-big retrieval help the least?
- When the documents are already short
- When documents are long manuals with sections
- When meaning depends on surrounding definitions
- When several matches come from one contract section
- Why store a parent_id in each child chunk's metadata?
- So the model can be fine-tuned on parent IDs
- To make embeddings smaller
- To hide parents from the user
- So expanding a child to its parent is a cheap key-value lookup instead of another search