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

Multi-modal support for file size, mime types and number of files #787

Merged
merged 15 commits into from Mar 19, 2024

Conversation

jpolvto
Copy link
Contributor

@jpolvto jpolvto commented Mar 5, 2024

We've implemented support for restricting multi modal inputs by mime type, file size and number of files, similar to AskFileMessage, giving developers a bit more flexibility in choosing what inputs to allow for the application.

This will not return any error, but will restrict the user from uploading files that don't match the specifications.

@oscar-lindholm
Copy link

🙌🙌🙌🙌

@jpolvto jpolvto marked this pull request as draft March 7, 2024 07:36
Copy link
Collaborator

@tpatel tpatel left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution ✨

@tpatel tpatel merged commit ce0b9cf into Chainlit:main Mar 19, 2024
6 checks passed
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.

None yet

4 participants