Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

new

Method
This is a method of the RetrievalResult class in the rag module.
Create a new retrieval result

Signature

def new(query: impl Into<String>, strategy: RetrievalStrategy) -> Self

Parameters

query
impl Into<String>
required
No description available.
strategy
RetrievalStrategy
required
No description available.

Returns

Returns
Self
The result of the operation.