mellea.stdlib.mobject
MObject.
Classes
Query
A Query component.
Methods:
parts
format_for_llm
Transform
A Transform component.
Methods:
parts
format_for_llm
MObjectProtocol
Protocol to describe the necessary functionality of a MObject. Implementers should prefer inheriting from MObject than MObjectProtocol.
Methods:
parts
get_query_object
query
: The query string.
get_transform_object
transformation
: the transform string
content_as_string
str(self)
.
Subclasses should override this method.
format_for_llm
TemplateRepresentation
uses an automatic
parsing for tools and fields. The content is retrieved
from content_as_string()
.
MObject
An extension of Component
for adding query and transform operations.
Methods:
parts
get_query_object
query
: The query string.
get_transform_object
transformation
: the transform string
content_as_string
str(self)
.
Subclasses should override this method.
format_for_llm
TemplateRepresentation
uses an automatic
parsing for tools and fields. The content is retrieved
from content_as_string()
.