Skip to content

EmbeddingsData

MarcoDotIO edited this page Dec 5, 2022 · 1 revision

EmbeddingsData

Contains the raw embeddings for the Embeddings endpoint

public struct EmbeddingsData: Codable 

Inheritance

Codable

Properties

object

The OpenAIObject object type of the Embeddings

public let object: OpenAIObject

embedding

The embeddings themselves

public let embedding: [Double]

index

The index of the embedding object within the data array.

public let index: Int
Types
Global Functions
Clone this wiki locally