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_segment_budget

Method
This is a method of the BudgetAllocation class in the models module.
Get budget for a segment.

Signature

def get_segment_budget(segment: ContextSegment) -> int

Parameters

segment
ContextSegment
required
No description available.

Returns

Returns
int
The result of the operation.

Source

View on GitHub

praisonaiagents/context/models.py at line 136