Skip to content

.Net Google Connector: Implement Audio input #13344

@Cordelia242

Description

@Cordelia242

name: .NET Google Connector: Implement Audio input
about: Currently the interface chatCompletionService allows audio input but the google conector does not implement it


Audio on the ChatHistory should be mapped and implemented on the google connector, example:

ChatHistory history = []; 
history.AddUserMessage([new AudioContent(audio, "audio/wav")]);

var response = await chatCompletionService.GetChatMessageContentAsync(
  history,
  new GeminiPromptExecutionSettings()
  {
...
  }
);

the audio should be sent to the google api

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETIssue or Pull requests regarding .NET codetriage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions