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

[FEATURE] [SERVER] chat field support server #5377

Merged
merged 12 commits into from
Aug 8, 2024

Conversation

burtenshaw
Copy link
Contributor

Description

This PR adds support for a chat field to the server.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested

Tests are updated

Checklist

  • I added relevant documentation
  • I followed the style guidelines of this project
  • I did a self-review of my code
  • I made corresponding changes to the documentation
  • I confirm My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

argilla-server/src/argilla_server/validators/records.py Outdated Show resolved Hide resolved
@@ -40,6 +40,7 @@
"image/svg",
"image/webp",
]
CHAT_FIELD_MAX_LENGTH = 500
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we add these to general constants.py?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I find local constants easier to read and maintain.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me too normally but otherwise it ends up being fragmented, right?

argilla-server/tests/unit/api/handlers/v1/test_datasets.py Outdated Show resolved Hide resolved
burtenshaw and others added 2 commits August 8, 2024 13:18
Co-authored-by: David Berenstein <david.m.berenstein@gmail.com>
Co-authored-by: David Berenstein <david.m.berenstein@gmail.com>
@burtenshaw burtenshaw merged commit 988862b into feat/chat-field-support Aug 8, 2024
6 checks passed
@burtenshaw burtenshaw deleted the feat/chat-field-support-server branch August 8, 2024 11:34
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