AI & ML · Concept
Classification
An embedding is a vector representation of data such as text. Similar data tends to produce vectors that are closer together, which makes embeddings useful for classification and other tasks.
Last updated
Syntax
client.embeddings.create({ model, input })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
TokensModel indexEmbeddings guideClassification