client.contextualizedEmbed({ ...params }) -> VoyageAI.ContextualizedEmbedResponse
-
-
-
The Voyage contextualized embeddings endpoint receives as input a list of documents (each document is a list of chunks), and returns contextualized embeddings for each chunk. The embeddings capture both the local chunk content and the global document context, making them particularly effective for retrieval tasks where understanding document-level context is important.
-
-
-
await client.contextualizedEmbed({ inputs: [["inputs"]], model: "model", });
-
-
-
request:
VoyageAI.ContextualizedEmbedRequest
-
requestOptions:
VoyageAIClient.RequestOptions
-
-