Additional kwargs for BaseMessage #4
HardKothari
started this conversation in
General
Replies: 1 comment 1 reply
-
Hey @HardKothari thank you for your comments! I agree it would be a useful thing to have a field to attach extra data to. Would you mind sharing an example use-case? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I looked into the python sdk and it seems it's pretty straightforward. Great efforts 👏🏼
While implementing it, the only concern I felt was that the BaseMessage class does not have additinal_kwargs attribute. Also it inherits configured model which does not allow additional attributes.
Shouldn't we have this extra data field with Any data type for enabling users to send extra data associated with any message type which can be used in UI?
Beta Was this translation helpful? Give feedback.
All reactions