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.

max_context_tokens

Method
This is a method of the RAGConfig class in the rag module.
Set max context tokens

Signature

def max_context_tokens(mut self, tokens: usize) -> Self

Parameters

tokens
usize
required
No description available.

Returns

Returns
Self
The result of the operation.

Rust Context Management

Rust Token Management

Rust Budget