using Qdrant.Client; using Qdrant.Client.Grpc; public class Snippet { public static async Task Run() { var client = new QdrantClient( host: "xyz-example.qdrant.io", port: 6334, https: true, apiKey: ""); await client.UpsertAsync( collectionName: "{collection_name}", points: new List { new() { Id = 1, Vectors = new Document() { Model = "openai/text-embedding-3-large", Text = "Recipe for baking chocolate chip cookies", Options = { ["openai-api-key"] = "", ["dimensions"] = 512 }, }, }, } ); } }