struct

AI::Provider::EmbeddingModel::ResultResponse

Inherits JSON::Serializable < Struct < Value < Object

Response information for debugging purposes.

Constructors

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

Instance methods

body

The response body.

Source
headers

Response headers.

Source