Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
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
id
Source
kind
Source
to_json
(json :
JSON::Builder
) :
Nil
Source
tool_output
Source
Nested types
Crig::Providers::Cohere::Source::Kind