Skip to content

.Net: Revise ModelId/DeploymentName fallback logic for the AzureOpenAITextToAudioService #7104

Description

@SergeyMenshykh

Context
Today, the existing AzureOpenAITextToAudioService service and the new one try to use model id supplied via constructor, then if that is not provided tries to find it in prompt execution settings and if there's nothing there the deployment name is used.

ToDo
Revise the logic of both existing and the new services:

  1. Ensure that prioritizing the model id supplied in the constructor over the more "dynamic" model id specified in the prompt execution settings (which can be changed per operation rather than per instantiation) is the correct behavior.
  2. Verify whether the model id parameter/property is still required or relevant, given that the new Azure.AI.OpenAI SDK v2 supports either a deployment name or a model id, but not both at the same time, as the HTTP version of the existing AzureOpenAITextToAudioService does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETIssue or Pull requests regarding .NET codeai connectorAnything related to AI connectorsopenai_sdk_v2Related to the OpenAI V2 SDK upgradesk team issueA tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions