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

feat: introduce message metadata and traits (#91) #92

Closed
wants to merge 1 commit into from

Conversation

chr-hertel
Copy link
Member

@chr-hertel chr-hertel commented Oct 1, 2024

Multiple ideas around Message - started by

  1. i think the traits make it easier for people to build their own messages on top of the interface if needed
  2. the metadata are a low structured gimmick that could reduce the need of having custom messages

didn't that anything yet and just a draft ...

@chr-hertel chr-hertel force-pushed the feature-message-metadata branch 2 times, most recently from 9945404 to 9a86adc Compare October 1, 2024 21:51
@chr-hertel chr-hertel changed the title tests: Execute rector (#91) feat: introduce message metadata and traits (#91) Oct 1, 2024
@OskarStark
Copy link
Contributor

TBH I am not sure I like this 😄

@chr-hertel
Copy link
Member Author

Me neither. What is your concern about?

@chr-hertel
Copy link
Member Author

Imagine i would want that UID in all messages, i would need to extend all messages to do so. Custom Systemmessage, CustomAssistantMessage, etc... or when using metadata the data would rather be unstructured

@chr-hertel
Copy link
Member Author

And that wouldn't be sufficient since processors, like the Tool one, add built in messages without UID.

But other than UID it could be the actual User reference, additional information about the tool call, like used source documents or links

@chr-hertel chr-hertel force-pushed the feature-message-metadata branch 2 times, most recently from e8efe71 to 0834aad Compare October 3, 2024 21:51
@chr-hertel chr-hertel force-pushed the feature-message-metadata branch from 0834aad to 57be246 Compare October 5, 2024 19:42
@chr-hertel
Copy link
Member Author

chr-hertel commented Dec 28, 2024

@chr-hertel chr-hertel closed this Dec 28, 2024
@OskarStark OskarStark deleted the feature-message-metadata branch December 28, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants