using var api = new JinaApi(apiKey);
var response = await api.Embeddings.CreateEmbeddingAsync(new TextEmbeddingInput
{
Model = "jina-clip-v1",
Input = new List<ApiSchemasEmbeddingTextDoc>
{
new()
{
Id = "1",
Text = "Hello, world!",
}
}
});
Console.WriteLine($"[{string.Join(", ", response.Data[0].Embedding ?? [])}]");