add • Rust AI Agent SDK
add: Add a segment to the ledger
add
Method
</div>
This is a method of the ContextLedger class in the context module.
Add a segment to the ledger
Signature
def add(&mut self, segment: ContextSegment) -> ()Parameters
ParamField
ContextSegmentNo description available.
Returns
ResponseField
()The result of the operation.