Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::Mira::CompletionResponse
Inherits
Struct
<
Value
<
Object
Constructors
from_json_value
(value :
JSON::Any
) : self
Source
new
(kind :
Kind
, id :
String
|
Nil
= nil, object :
String
|
Nil
= nil, created :
Int64
|
Nil
= nil, model :
String
|
Nil
= nil, choices :
Array
(
ChatChoice
) |
Nil
= nil, usage :
Usage
|
Nil
= nil, text :
String
|
Nil
= nil)
Source
Instance methods
choices
Source
created
Source
id
Source
kind
Source
model
Source
object
Source
text
Source
to_crig_response
Source
usage
Source
Nested types
Crig::Providers::Mira::CompletionResponse::Kind