Open
Description
Description
The chat0
project, a clone of ChatGPT that allows users to provide an API key and use multiple models, currently lacks file handling capabilities. To enhance user experience and align with features seen in ChatGPT, we should implement file handling support, including:
- Drag-and-Drop: Allow users to drag and drop files into the chat interface.
- Paste Support: Enable users to paste files (e.g., images, documents) directly into the input area.
- File Preview: Display a small preview of the uploaded file (e.g., thumbnail for images, file icon with name for documents) above the chat input, similar to ChatGPT’s UI.
- Attach File Icon: Include a visible "attach file" icon (e.g., a paperclip) in the chat input area to allow users to select files from their device.
This feature will improve usability for users who need to share files as part of their interactions with the models.
Expected Behavior
- Dragging or pasting a file triggers an upload process.
- A preview of the file (e.g., thumbnail or icon with file name) appears above the chat input.
- The file is process 57F6 ed and can be sent to the model or stored for the session, as needed.
Note: I am interested in working on this issue and would like to contribute to implementing this feature. Please let me know any specific guidelines or requirements for proceeding @senbo1
Metadata
Metadata
Assignees
Labels
No labels