Skip to content

Commit 6f9c89d

Browse files
szymondudyczManul from Pathway
authored andcommitted
Context documents in Adaptive RAG (#8333)
GitOrigin-RevId: 8e1c8053bb4e00c9814fa010afce3f919b00835c
1 parent b8b5080 commit 6f9c89d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/pipelines/adaptive-rag/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ We use the data in this table to call our adaptive retrieval logic.
3030

3131
To do that, we use `answer_with_geometric_rag_strategy_from_index` implementation provided under the `pathway.xpacks.llm.question_answering`.
3232
This function takes an index, LLM, prompt and adaptive parameters such as the starting number of documents. Then, iteratively asks the question to the LLM with an increasing number of context documents retrieved from the index.
33-
We also set `strict_prompt=True`. This adjusts the prompt with additional instructions and adds additional rails to parse the response.
3433

3534
We encourage you to check the implementation of `answer_with_geometric_rag_strategy_from_index`.
3635

0 commit comments

Comments
 (0)