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 ContextLedger class in the context module.
Create a new ledger with max tokens

Signature

def new(max_tokens: usize) -> Self

Parameters

max_tokens
usize
required
No description available.

Returns

Returns
Self
The result of the operation.