Skip to content
Discussion options

You must be logged in to vote

@anna-trivino Please take a look in the answer here.

TLDR;
Ensure when using serviceId identifiers with AddAzureOpenAIChatCompletion to also provide the ServiceId in the PromptExecutionSettings.
i.e:

var settings = new PromptExecutionSettings { ServiceId = "AzureOpenAiGpt4" };
var result = kernel.InvokePromptAsync("my prompt", new(settings));

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rogerbarreto
Comment options

Answer selected by rogerbarreto
@a-trivino
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants