Back to Home
AI on Medium··Industry Media

HyDE: The RAG Trick That Works by Asking the LLM to Hallucinate First

中文摘要

HyDE 是一种 RAG 技巧,通过让 LLM 先生成虚构答案来解决问题与文档不匹配的问题,从而提高检索精度。

English Summary

HyDE improves RAG by having the LLM generate a hypothetical answer first, which better matches relevant documents for retrieval than the original question.

Original Excerpt

Why the Question and the Document Never Quite Match Continue reading on Medium »