Bài kiểm tra có liên kết hướng dẫn · Trung bình Cấp độ
Bài kiểm tra truy xuất theo ngữ cảnh
Kiểm tra khả năng truy xuất theo ngữ cảnh: thêm ngữ cảnh tài liệu vào các khối, nhúng theo ngữ cảnh với BM25 theo ngữ cảnh, sắp xếp lại và nhắc nhở chi phí lưu vào bộ nhớ đệm.
Câu hỏi 1 của 8
Truy xuất theo ngữ cảnh giải quyết được vấn đề gì?
Xem trước mọi câu hỏi8 câu hỏi
Câu trả lời và giải thích xuất hiện khi bạn làm bài kiểm tra.
- Truy xuất theo ngữ cảnh giải quyết được vấn đề gì?
- Chunks lose information like company or time period when split from their document
- Embeddings are too expensive to store
- Language models cannot read tables
- BM25 cannot handle long queries
- Bối cảnh cho từng đoạn được tạo ra như thế nào?
- By copying the document title only
- A language model reads the whole document and the chunk and writes a short situating explanation
- By a human editor for every chunk
- By averaging neighboring embeddings
- Hai chỉ mục nào nhận được văn bản đoạn được ngữ cảnh hóa theo cách tiếp cận của Anthropic?
- A graph database and a cache
- A SQL table and a spreadsheet
- An embedding index and a BM25 keyword index
- Two separate vector indexes with different models
- Theo các thử nghiệm được báo cáo của Anthropic, việc nhúng theo ngữ cảnh cộng với BM25 theo ngữ cảnh đã làm giảm khoảng 20 lỗi truy xuất hàng đầu đến mức nào?
- About 5 percent
- About 20 percent
- Khoảng 90 phần trăm
- About 49 percent
- Tại sao bộ nhớ đệm nhanh chóng giúp việc truy xuất theo ngữ cảnh rẻ hơn?
- It caches the document once and reuses it for every chunk's context call
- It skips the embedding step
- It removes the need for BM25
- It shortens each chunk
- Why is keeping BM25 in the pipeline especially useful with added context?
- BM25 understands synonyms better than embeddings
- Contexts often add exact identifiers like names, dates or codes that keyword search matches precisely
- BM25 requires no index
- BM25 replaces reranking
- When might contextual retrieval be unnecessary?
- When the documents are in English
- When using a reranker
- When the knowledge base is small enough to fit in the model's context window
- When chunks are longer than 50 tokens
- Where does the main extra cost of contextual retrieval occur?
- At query time for every user question
- In the reranker only
- In the user's browser
- At indexing time, with one model call per chunk