-
Notifications
You must be signed in to change notification settings - Fork 390
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
fix: improve logic for detecting ChatFields #5667
Conversation
The URL of the deployed environment for this PR is https://argilla-quickstart-pr-5667-ki24f765kq-no.a.run.app |
role, | ||
content, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're losing info by keeping only the first entry of value on this line (which is a dictionary of feature). This can introduce errors later. (Not for handling on this PR) cc @damianpumar
role?: string; | ||
content?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't fully understand this data structure but I think role
and content
are quite specific to be part of a general structure. Anyway, this is something to review with @damianpumar.
We can go on with this solution if everything is working well.
Check the role and content properties to validate the chat field --------- Co-authored-by: Francisco Aranda <[email protected]>
Check the role and content properties to validate the chat field