Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 642 Bytes

Embedding.md

File metadata and controls

22 lines (16 loc) · 642 Bytes

OpenapiClient::Embedding

Properties

Name Type Description Notes
index Integer The index of the embedding in the list of embeddings.
embedding Array<Float> The embedding vector, which is a list of floats. The length of vector depends on the model as listed in the embedding guide.
object String The object type, which is always &quot;embedding&quot;.

Example

require 'openapi_client'

instance = OpenapiClient::Embedding.new(
  index: null,
  embedding: null,
  object: null
)