struct
AI::Provider::SpeechModel::ResultResponse
- AI::Provider::SpeechModel::ResultResponse
- Struct
- Value
- Object
Overview
Response information for the speech generation result.
Included Modules
- JSON::Serializable
Defined in:
ai/provider/speech_model/speech_model.crConstructors
- .new(timestamp : Time, model_id : String, headers : Shared::Headers | Nil = nil, body : JSON::Any | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#body : JSON::Any | Nil
Response body.
-
#headers : Shared::Headers | Nil
Response headers.
-
#model_id : String
The ID of the response model that was used.
-
#timestamp : Time
Timestamp for the start of the generated response.