aws-samples / bedrock-claude-chat

AWS-native chatbot using Bedrock + Claude (+Mistral)
MIT No Attribution
908 stars 324 forks source link

[BUG]Degration of document chat #572

Closed Yukinobu-Mine closed 4 weeks ago

Yukinobu-Mine commented 1 month ago

🚨 Please Note 🚨

To ensure efficient investigation of the issue, please fill out the fields below with as much detail as possible. Reports that do not follow this template may be closed without notification. We appreciate your cooperation.

Describe the bug

Document chat is not working properly after the commit https://github.com/aws-samples/bedrock-claude-chat/commit/101dc796436085e41819c1f0255745823e54feb3

To Reproduce

  1. Start a chat.
  2. Attach a PDF file to a message and send it.
  3. An error occurs as follows:
    The detected filetype is PLAIN_TEXT, but the provided filetype was PDF.