Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: Add support for audio transcription format #7117

Closed
SergeyMenshykh opened this issue Jul 5, 2024 · 1 comment
Closed

.Net: Add support for audio transcription format #7117

SergeyMenshykh opened this issue Jul 5, 2024 · 1 comment
Labels
ai connector Anything related to AI connectors

Comments

@SergeyMenshykh
Copy link
Member

Context
Azure.AI.OpenAI SDK V2 added support for audio transcription format:

public enum AudioTranscriptionFormat
{
    Text,
    Simple,
    Verbose,
    Srt,
    Vtt,
}

that can be used by {Azure}OpenAIAudioToTextService classes:

var options = new AudioTranscriptionOptions()
{
    Granularities = ConvertToAudioTimestampGranularities(executionSettings!.Granularities),
    Language = executionSettings.Language,
    Prompt = executionSettings.Prompt,
    Temperature = executionSettings.Temperature,
    ResponseFormat = AudioTranscriptionFormat.Simple, // It's not supported by SK yet.
};

ToDo
Consider adding optional TranscriptionFormate property to the {Azure}OpenAIAudioToTextExecutionSettings class.

Notes
Decide whether the property should be released as part of the Azure.AI.OpenAI SDK V2 migration initiative or afterwards.

@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code triage labels Jul 5, 2024
@SergeyMenshykh SergeyMenshykh added ai connector Anything related to AI connectors and removed .NET Issue or Pull requests regarding .NET code triage labels Jul 5, 2024
@SergeyMenshykh
Copy link
Member Author

It appears that the property existed in the previous version of the Azure.AI.OpenAI SDK under the ResponseFormat name and already exists in the {Azure}OpenAIAudioToTextExecutionSettings classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai connector Anything related to AI connectors
Projects
Status: Sprint: Done
Development

No branches or pull requests

2 participants