Тест, свързан с ръководство · Среден Ниво

Родителски документ и тест за извличане от малък към голям

Тествайте разбирането си за извличане от малки към големи: дъщерни и родителски парчета, извличане с прозорец на изречение и автоматично сливане и кога е по-добро от фиксирани парчета.

Въпрос 1 на 8

Какъв основен компромис адресира извличането от малки към големи?

Визуализирайте всеки въпрос8 въпроси

Отговорите и обясненията се появяват, докато отговаряте на теста.

  1. Какъв основен компромис адресира извличането от малки към големи?
    • 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
  2. В система от малък към голям, какво се вгражда и търси по време на заявка?
    • Small child chunks
    • Whole parent documents only
    • Document titles only
    • The model's previous answers
  3. Ако три извлечени дъщерни части принадлежат към една и съща родителска секция, какво трябва да направи системата?
    • Send all three children and the parent
    • Discard the children because they overlap
    • Send the shared parent once
    • Send only the lowest-scoring child
  4. Как ParentDocumentRetriever на LangChain съхранява двете нива на текст?
    • 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
  5. Какво връща извличането на прозорец на изречение?
    • 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
  6. 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
  7. 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
  8. 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