Skip to content

Embeddings

This example assumes using VoyageAI; is in scope and apiKey contains your VoyageAI API key.

1
2
3
4
5
using var client = GetAuthorizedApi();

var response = await client.EmbeddingsApiAsync(
    input: "Hello, world!",
    model: "voyage-3-lite");