This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

HYDE

Explore the HYDE implementation This section details how to reproduce HYDE results.

    Index of HyDE

    HYDE can use the same indexing base as NaiveRAG. Therefore, after completing the NaiveRAG indexing process, you can directly use its index base.

    Answer and Evaluation

    First, prepare your test questions according to the benchmark format. You’ll need to create a test set parquet file containing questions and their corresponding answer keys. Once ready, you can run the evaluation with:

    python -m /eval/eval_hyde -f path/to/naive_main_folder -q path/to/question_parquet