-
Notifications
You must be signed in to change notification settings - Fork 25
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/55712 file attachment input #366
Conversation
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.
The code changes look good to me. I noticed 2 things we need to change:
- The file preview bubble looks stylistically too different from the others, need rework
- If I upload files with a message and send, I only see the message, not the file upload preview
Both need to be changed in chat-components repo I guess? How do you want to tackle this, maybe an immediate follow-up?
Yes, the file output has to be handled separately and in the chat components repo. This PR is just about File inputs. |
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.
chat-components fixes will follow-up
This PR adds the File attachment input.
To test, please use configure a file storage provider in your endpoint editor or use this endpoint: https://endpoint-dev.cognigy.ai/36d5dfe244e2bf217d61a7c381b16c16ab25f0aac9a748351937d8ab9aa46452. If you get CORS error, please run cognigy-ai in the cluster and import this package. Create a flow and add this flow to the exported endpoint. And then use the endpoint url in webchat
Endpoint-Web_2024-01-22_13-31-31.zip