Refineries

Embeddings Refine

Embeddings refinery endpoint using local chonkie.

Adds embeddings to chunks using the specified embedding model. Currently only supports OpenAI text-embedding-3-small and text-embedding-3-large models.

post/v1/refine/embeddings

Headers

authorizationstring nullable

Request body

chunksobject[] required

List of chunks to refine

embedding_modelstring

Embedding model to use (only text-embedding-3-small and text-embedding-3-large supported)

Response

Successful Response

{"stackTrail":"paths:/v1/refine/embeddings:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.