Skip to main content

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.