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.

get_tokens_for_complexity

Method
This is a method of the ThinkingBudget class in the thinking module.
Get token budget based on task complexity. # Arguments * complexity - Complexity score (0.0 to 1.0) # Returns Adjusted token budget

Signature

def get_tokens_for_complexity(&self, complexity: f64) -> usize

Parameters

complexity
f64
required
No description available.

Returns

Returns
usize
The result of the operation.

Rust Token Management

Rust Budget