struct Turquoise::Eloquent::Chat::Result
- Turquoise::Eloquent::Chat::Result
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
turquoise/eloquent/api.crConstructors
Instance Method Summary
- #errors : Array(NamedTuple(message: String))
- #errors=(errors : Array(NamedTuple(message: String)))
- #messages : Array(String)
- #messages=(messages : Array(String))
- #result : NamedTuple(response: String | Nil, tool_calls: Array(Tool::Call) | Nil)
- #result=(result : NamedTuple(response: String | Nil, tool_calls: Array(Tool::Call) | Nil))
- #success=(success : Bool)
- #success? : Bool
Constructor Detail
Instance Method Detail
def result : NamedTuple(response: String | Nil, tool_calls: Array(Tool::Call) | Nil)
#
def result=(result : NamedTuple(response: String | Nil, tool_calls: Array(Tool::Call) | Nil))
#