Skip to main content

set_segment

Method
This is a method of the ContextLedger class in the models module.
Set token count for a segment.

Signature

Parameters

segment
ContextSegment
required
No description available.
tokens
int
required
No description available.

Used By

Source

View on GitHub

praisonaiagents/context/models.py at line 68