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

Java: When calling getContent or getItems, get null if the other property was set. #142

Open
matthewbolanos opened this issue May 13, 2024 · 0 comments
Labels
java Pull requests that update Java code

Comments

@matthewbolanos
Copy link
Member

matthewbolanos commented May 13, 2024

In Java, when creating a ChatMessageContent, you can either set the content or items of the object. If you then retrieve either, the system isn't able to smartly pull from the right source.

For example, if I set content to "hello world" and I call getItems(), I should receive an array of KernelContent with a single TextContent inside of it. The reverse should also be true.

@markwallace-microsoft markwallace-microsoft added java Pull requests that update Java code triage Needs triage from engineering team labels May 13, 2024
@markwallace-microsoft markwallace-microsoft removed the triage Needs triage from engineering team label Jun 24, 2024
@johnoliver johnoliver transferred this issue from microsoft/semantic-kernel Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Pull requests that update Java code
Projects
None yet
Development

No branches or pull requests

2 participants