semantic-kernel
semantic-kernel copied to clipboard
.Net Google Connector: Implement Audio input
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