struct

Crig::Providers::Cohere::Source

Inherits Struct < Value < Object

Constructors

from_json_value(value : JSON::Any) : self
Source
new(kind : Kind, id : String | Nil = nil, document : Hash(String, JSON::Any) | Nil = nil, tool_output : Hash(String, JSON::Any) | Nil = nil)
Source

Instance methods

document
Source
kind
Source
to_json(json : JSON::Builder) : Nil
Source
tool_output
Source

Nested types