ML.NET reference implementation of Microsoft.Extensions.AI IEmbeddingGenerator Prerequisites .NET 8 SDK or greater VS or VS Code Run sample VS Set MLNETEmbeddingGenerator as the startup project Press F5 VS Code Open the terminal Enter dotnet run