LLM::OpenAI::Message::Response
Inherits LLM::OpenAI::Message < JSON::Serializable < Reference < Object
Represents a response message from the LLM
Constants
ROLE = "assistant"
Constructors
Instance methods
content
Sourceinclude_reasoning=(include_reasoning : Bool)
If false don't include reasoning when resending this message to the model
reasoning
Sourcetool_calls
Sourceusage
Sidecar to response message so we can keep the usage together with it.
Not serialized. Keeping this here as a convenience when parsing for now.
Ideally it would better if it was only in the MessagePlus wrapper.
usage=(usage : Usage | Nil)
Sidecar to response message so we can keep the usage together with it.
Not serialized. Keeping this here as a convenience when parsing for now.
Ideally it would better if it was only in the MessagePlus wrapper.