gomate-community/TrustRAG

Features-Rewriter-Hyde

Closed this issue · 3 comments

llama-index:
HyDE Query Transform

hyde = HyDEQueryTransform(include_original=True)
hyde_query_engine = TransformQueryEngine(query_engine, hyde)
response = hyde_query_engine.query(query_str)
display(Markdown(f"{response}"))