Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nit: fix grammar in insurance cookbook (#89)
cr
- Loading branch information
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a2edc41
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to clarify, "parsing_instruction" is a prompt to an LLM to help parse the source file. In the insurance example the prompt generates summaries of the various insurance clauses. Wouldn't this create the problem that you cannot be sure that the LLM summarizes the clauses correctly (hallucinations) and the RAG output is therefore not accurate because it does not directly retrieve from the source?
Wouldn't it be a better approach to get a raw RAG response and then use post-processing to refine/synthesize a better response? At least you have the raw original source as a reference for authenticity. Pretty important for contracts, legal stuff, etc.