Request
Parameters
Array of chunk objects to add embeddings to. Each chunk must have
text
,
start_index
, end_index
, and token_count
fields.The embedding model to use. Supports Hugging Face and OpenAI models.
Need another model? Reach out to us at [email protected]
Response
Returns
Array of chunks with addedembedding
field.
The original chunk text.
Starting position in original text.
Ending position in original text.
Number of tokens in the chunk.
Vector embedding as array of floats.