Skip to main content

new

Method
This is a method of the RAGResult class in the rag module.
Create a new RAG result

Signature

def new(answer: impl Into<String>, context: ContextPack) -> Self

Parameters

answer
impl Into<String>
required
No description available.
context
ContextPack
required
No description available.

Returns

Returns
Self
The result of the operation.