feat: handle file uploads as a part of /api/chat endpoint#979
Open
puzzle-solver wants to merge 14 commits into
Open
feat: handle file uploads as a part of /api/chat endpoint#979puzzle-solver wants to merge 14 commits into
puzzle-solver wants to merge 14 commits into
Conversation
Contributor
Code Coverage SummaryDetailsDiff against mainResults for commit: 35b0cc5 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
chatmethod as attachments in a contextchatmethod as they want. added example demonstrating how to work with attachments and pass them to openai API/api/uploadis not used anymore. The client needs just one canonical way to upload files and we cannot really have to "upload" buttons pointing to different endpointslitellm.supports_pdf_inputfix: some backward incompatible change was made in litellmupload_handler- the/api/uploadis not being used on the frontend, but backend can still handle now. if the handler is present it is still used (on the POST/api/chat, to handle the uploaded file)Test the changes by running
uv run ragbits api run examples.chat.attachment_chat:AttachmentChatDiscussion is welcome.