引导式测验 · 硬 等级

查询重写和多查询检索测验

测试 RAG 的查询转换:会话重写、分解和后退提示、多查询检索、倒数排名融合和 HyDE。

问题 1 的 8

为什么查询重写在多轮聊天中特别重要?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. 为什么查询重写在多轮聊天中特别重要?
    • Follow-up messages often depend on earlier context and are meaningless as standalone searches
    • Chat models cannot generate text
    • Vector databases reject questions
    • Longer queries are always faster
  2. 哪种技术将比较问题拆分为针对每个要比较的项目的单独搜索?
    • HyDE
    • Reciprocal rank fusion
    • Decomposition
    • Prompt caching
  3. 后退提示有什么作用?
    • Deletes the user's query
    • Retrieves only the most recent documents
    • Reverses the order of search results
    • Asks a more general question first to retrieve background principles
  4. 在倒数排名融合中,文档的分数是如何计算的?
    • The average of raw similarity scores
    • The sum of 1/(k + rank) across result lists
    • The number of words it shares with the query
    • Its rank in the first list only
  5. 为什么RRF可以方便地合并向量搜索和BM25结果?
    • It relies on ranks, so scores on different scales need no normalization
    • It requires identical scoring functions
    • It only works with a single list
    • It retrains the embedding model
  6. What does HyDE embed instead of the user's question?
    • The document title
    • A random sample of chunks
    • A hypothetical answer written by the model
    • The user's conversation history
  7. What is a recommended safeguard against intent drift in multi-query retrieval?
    • Generate at least twenty variants
    • Remove all named entities from variants
    • Skip deduplication
    • Include the original query as one of the variants and preserve entities and dates
  8. Which is a real drawback of generating many query variants?
    • It makes RRF impossible
    • It adds latency and cost and can pull in irrelevant documents
    • It prevents reranking
    • It always lowers recall to zero