artkit.model.llm.history.AssistantMessage#
- class artkit.model.llm.history.AssistantMessage(text)[source]#
A chat message from an assistant.
- Bases:
- Metaclasses:
- Parameters:
text (
str
) – the content of the message
Method summary
Render this object as an expression.
Attribute summary
The name of the agent role, returned by
role
.[see superclass]
The content of the message.
Definitions
- to_expression()#
Render this object as an expression.
- Return type:
Expression
- Returns:
the expression representing this object