struct

AI::Provider::RerankingModel::ResultResponse

Inherits JSON::Serializable < Struct < Value < Object

Response information for the reranking result.

Constructors

new(id : String | Nil = nil, timestamp : Time | Nil = nil, model_id : String | Nil = nil, headers : Shared::Headers | Nil = nil, body : JSON::Any | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

body

Response body.

Source
headers

Response headers.

Source
id

ID for the generated response, if the provider sends one.

Source
model_id

The ID of the response model that was used.

Source
timestamp

Timestamp for the start of the generated response.

Source