Created
June 12, 2024 00:38
-
-
Save xximjasonxx/04b0648ce0f6c5fab1c9734114c1ec3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var builder = Kernel.CreateBuilder(); | |
builder.Plugins.AddFromType<MathPlugin>(); | |
builder.Plugins.AddFromPromptDirectory(Path.Combine(Directory.GetCurrentDirectory(), "Plugins", "GenStatementPlugin")); | |
builder.AddAzureOpenAIChatCompletion("<deployment name>", "<endpoint>", "<key>"); | |
var kernel = builder.Build(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment