OpenRouter::EmbeddingData
A single embedding vector in the response data array
Constructors
new(pull : JSON::PullParser)
SourceInstance methods
embedding_base64
Returns the raw base64 string. Raises if the embedding is an array of floats.
index
Sourceobject
Sourceto_json(json : JSON::Builder)
Source