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