Embeddings

1
2
3
4
5
6
7
8
9
G
await using var container = await Environment.PrepareAsync(EnvironmentType.Local, "all-minilm");

await using var container = await Environment.PrepareAsync(EnvironmentType.Container, "all-minilm");


var embeddingResponse = await api.Embeddings.GenerateEmbeddingAsync(
    model:"all-minilm",
    prompt: "hello");