The post asks if there is a way to control how the LLM (Large Language Model) uses the source_nodes, as the response generated sometimes hallucinates names or properties, even when the source_nodes are accurate. The community members suggest several approaches:
1. Using the response synthesizer to control how the source_nodes are handled, and passing a custom one.
2. Using metadata to look for particular properties that exist in all documents.
3. Using the node postprocessor to control how the source_nodes are used.
4. Using the evaluation modules to help combat hallucinations.
The community members also discuss how to instruct the LLM to look at particular metadata fields, such as the title field, instead of generating names.
Is there any way to control how the LLM uses the source_nodes? I sometimes find that source_nodes are accurate, but the response generated hallucinates names or properties. Can we force the engine to look for particular properties that we know exist in all documents?
Thanks for sending these docs over. How can I instruct the LLM to look at particular metadata fields. The doc you sent doesn't necessarily specify how to include that in the output
I mean include the fields in the response. Sometimes the LLM makes up names instead of looking at the title field in the nodes. I'd rather it just use the exact string available there