Skip to main content

add_segment

Method
This is a method of the ContextLedger class in the models module.
Add tokens to a segment.

Signature

def add_segment(segment: ContextSegment, tokens: int) -> None

Parameters

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