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

Add Support for PDF File Parsing in Conversations #138

Merged

Conversation

fingerthief
Copy link
Owner

@fingerthief fingerthief commented Jun 2, 2024

Description:

This pull request introduces a new feature that enhances the file upload functionality within conversations. Users can now upload PDF files as context for their conversations. The system will parse these PDF files, extract the textual content, and seamlessly integrate this information into the ongoing conversation. This feature aims to provide users with a more efficient and streamlined way to incorporate external documents into their discussions, thereby enriching the context and improving the overall conversational experience.

Key Changes:

  • Implemented logic for detecting a PDF file being uploaded and then load and parse all available text from every page of the provided PDF.
  • Updated to not render the new Interact Mode button if a non-gpt model is selected for now.
  • Slight wording tweaks for Interact Mode config settings

Issues Resolved


resolves #137

Auto Generated Notes (Do Not Change)


Contents (#138)

Uncategorised!

  • Added PDF to Text parsing logic for uploading files as context to the conversation.
  • Updated to only render the interact mode button if an OpenAI model is selected for now.
  • Update version
  • Add dynamic import for pdf parsing to fix dist build issues

@fingerthief fingerthief added the enhancement New feature or request label Jun 2, 2024
@fingerthief fingerthief added this to the 6.2.1 milestone Jun 2, 2024
@fingerthief fingerthief self-assigned this Jun 2, 2024
Copy link

github-actions bot commented Jun 2, 2024

Visit the preview URL for this PR (updated for commit 02842e8):

https://minimalgpt--pr138-feature-add-pdf-pars-a1h1f6xg.web.app

(expires Sun, 09 Jun 2024 01:40:24 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 95b9f8da4861f0258375bb9789bfa436b4ed7d98

@fingerthief fingerthief merged commit fc165a2 into main Jun 2, 2024
6 checks passed
@fingerthief fingerthief deleted the feature/add-pdf-parsing-logic-to-file-context-uploads branch June 2, 2024 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Feature Request: Support for PDF File Parsing in Conversations
1 participant