Please add metadata field to messages
Is your feature request related to a problem? Please describe. I have a use case where message needs to include some metadata and currently I have to have a bad workaround to create a separate db table to manage the metadata for each message separately. It's made even more frustrating by how hard it is to get the correct user message since the only way you can differentiate multiple user messages is by the content.
My use case is similar to ChatGPT canvas feature where LLM agent helps me edit some document.
In my case, I'm sending two messages: 1) document context and 2) user request. Since both are type user_message, the only way I can pick the user request message to add metadata to is by examining the content which requires a hack like adding <user_request> in my user request content.
Having a metadata field in messages would make this much easier and give everyone flexibility to attach arbitrary data to messages.
Describe the solution you'd like Add a metadata field for messages
@sarahwooders any ETA on this by any chance? This would make my use case a lot easier and more robust to work with. Thanks for adding this feature!
@sarahwooders FYI - it'd be good to also add tags and searchability (ideally through both tags and metadata fields)
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.