aws-samples / bedrock-claude-chat

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

[Feature Request] PDF/Document upload directly on chat window #198

Closed statefb closed 2 months ago

statefb commented 6 months ago

Describe the solution you'd like Enables uploading doc directly on chat input window image

Why the solution needed For ad-hoc querying

Additional context Add any other context or screenshots about the feature request here.

jeremylatorre commented 5 months ago

We'll probably need to work on this feature within next weeks. Did you have any lead about this feature? Parsing in frontend/Backend? Add the content in the pre-prompt inside tags?

statefb commented 5 months ago

Did you have any lead about this feature?

No. We are also considering implementing it, but there is an issue with parsing documents. The unstructured package in Python is the de facto standard, but the package size is large, and when implemented in Lambda, a phenomenon has been observed where cold starts degrade to around 10 seconds. Additionally, since unstructured writes to areas other than /tmp, it is not practical from this perspective either. We need to explore a cost-effective method while maintaining the UX.

dezhouc2 commented 4 months ago

Did you have any lead about this feature?

No. We are also considering implementing it, but there is an issue with parsing documents. The unstructured package in Python is the de facto standard, but the package size is large, and when implemented in Lambda, a phenomenon has been observed where cold starts degrade to around 10 seconds. Additionally, since unstructured writes to areas other than /tmp, it is not practical from this perspective either. We need to explore a cost-effective method while maintaining the UX.

By the way, I'm wondering what is the maximum capability for loading files for each console bot? thank you

statefb commented 3 months ago

Possible solution: using converse API