Embedded objects

Get a vector representation of a given input that machine learning models and algorithms can easily use.

Represents the embedding vector returned by the embedding endpoint.

index/integer

An index embedded in an embedded list.

embedding/array

An embedding vector, which is a list of floating point numbers. The length of the vector depends on the models listed inthe embedding guide.

object/string Object type, always "embedded."

{
  "object": "embedding",
  "embedding": [
    0.0023064255,
    -0.009327292,
    .... (1536 floats total for ada-002)
    -0.0028842222,
  ],
  "index": 0
}

Last updated