get_segment
Method
This is a method of the ContextLedger class in the models module.Get token count for a segment.
Signature
Parameters
No description available.
Returns
The result of the operation.
Get token count for a segment.
This is a method of the ContextLedger class in the models module.Get token count for a segment.
def get_segment(segment: ContextSegment) -> int