Skip to main content

Classes

CLASS SimpleComponent

A Component that is make up of named spans.
Methods:

FUNC parts

parts(self)
Returns the values of the kwargs.

FUNC make_simple_string

make_simple_string(kwargs)
Uses <|key|>value</|key|> to represent a simple component.

FUNC make_json_string

make_json_string(kwargs)
Uses json.

FUNC format_for_llm

format_for_llm(self)
Uses a string rep.