Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 3.28 KB

batchobjectdata.mdx

File metadata and controls

15 lines (11 loc) · 3.28 KB
title BatchObjectData

A single embedding object

Fields

Field Type Required Description Example
document_index Optional[int] ➖ Index of the source document when input was a list of documents (contextual embeddings). Absent otherwise. 0
embedding components.Embedding ✔️ Embedding vector as an array of floats or a base64 string [
0.0023064255,
-0.009327292,
0.015797347
]
index Optional[int] ➖ Index of the embedding in the input list 0
object components.ObjectEmbedding ✔️ N/A