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: Missing Metadata in Response , While Using Amazon Bedrock in Semantic Kernel #9989

Open
markwallace-microsoft opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
ai connector Anything related to AI connectors .NET Issue or Pull requests regarding .NET code sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)

Comments

@markwallace-microsoft
Copy link
Member

Discussed in #9908

Originally posted by sp-shukla December 9, 2024
image
I am using Amazon Bedrock with the Semantic Kernel framework to use chat completions. I am calling the GetChatMessageContentAsync method of IChatCompletionService to get the response from the model.

The issue I am facing is that the response only contains the Content property (the message text). Other properties like metadata (e.g., tokens, model information, or other related fields) are missing in the response.

Is there a way to retrieve these additional properties, or am I missing a configuration step to enable the complete response data?

@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code ai connector Anything related to AI connectors labels Dec 16, 2024
@markwallace-microsoft markwallace-microsoft moved this to Sprint: Planned in Semantic Kernel Dec 16, 2024
@github-actions github-actions bot changed the title Missing Metadata in Response , While Using Amazon Bedrock in Semantic Kernel .Net: Missing Metadata in Response , While Using Amazon Bedrock in Semantic Kernel Dec 16, 2024
@evchaki evchaki added the sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community) label Dec 17, 2024
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 .NET Issue or Pull requests regarding .NET code sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
Projects
Status: Sprint: Planned
Development

No branches or pull requests

3 participants