From b71ea5f407c268a846eff5fabc0886c7e74a05b4 Mon Sep 17 00:00:00 2001 From: seehi <6580@pm.me> Date: Wed, 15 May 2024 17:40:21 +0800 Subject: [PATCH] update comment --- examples/rag_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/rag_pipeline.py b/examples/rag_pipeline.py index fbbc2cc39..5b716ce03 100644 --- a/examples/rag_pipeline.py +++ b/examples/rag_pipeline.py @@ -243,7 +243,7 @@ async def main(): """RAG pipeline. Note: - 1. If `use_llm_ranker` is True, then will use LLM Reranker to get better result, but it is not always guaranteed that the output will be parseable for reranking, + 1. If `use_llm_ranker` is True, then it will use LLM Reranker to get better result, but it is not always guaranteed that the output will be parseable for reranking, prefer `gpt-4-turbo`, otherwise might encounter `IndexError: list index out of range` or `ValueError: invalid literal for int() with base 10`. """ e = RAGExample(use_llm_ranker=False)