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.

ContextOptimizer

Defined in the models module.
AI Agent Protocol for context optimization strategies.

Methods

optimize()

Optimize messages to fit within target tokens.

Source

View on GitHub

praisonaiagents/context/models.py at line 457

Context Concept

Context Management

Context Strategies