struct Turquoise::Eloquent::Chat::Result

Included Modules

Defined in:

turquoise/eloquent/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def errors : Array(NamedTuple(message: String)) #

[View source]
def errors=(errors : Array(NamedTuple(message: String))) #

[View source]
def messages : Array(String) #

[View source]
def messages=(messages : Array(String)) #

[View source]
def result : NamedTuple(response: String | Nil, tool_calls: Array(Tool::Call) | Nil) #

[View source]
def result=(result : NamedTuple(response: String | Nil, tool_calls: Array(Tool::Call) | Nil)) #

[View source]
def success=(success : Bool) #

[View source]
def success? : Bool #

[View source]