-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 The 'Source' property added to the ChatMessageContent class #5091
.Net The 'Source' property added to the ChatMessageContent class #5091
Conversation
…ociate it with an instance of the service that generated it. This may be useful in agent customization scenarios to access the agent that generates messages.
Does we can use this property to solve plugin name problem described here #4913? |
I don't see, at least for now, how the property can solve the problem. Chat completion services that use the ChatMessageContent class and SK functions are two unrelated SK components/functionality. Even if it might be possible to solve the problem for a particular edge case scenario using the property, it should not be the way forward. Instead, a proper solution should be put in place that covers the majority, if not all, scenarios. |
Motivation and Context
For agent customization story, when converting or translating messages from one agent to another, we need a way to access the agent that generated the messages.
Description
This PR adds the 'Source' property to the ChatMessageContent class.
Contribution Checklist