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 ContextChunk class in the rag module.
Create a new context chunk

Signature

def new(content: impl Into<String>, source: impl Into<String>, score: f32) -> Self

Parameters

content
impl Into<String>
required
No description available.
source
impl Into<String>
required
No description available.
score
f32
required
No description available.

Returns

Returns
Self
The result of the operation.