aws-samples / amazon-q-slack-gateway

MIT No Attribution
81 stars 30 forks source link

Add file attachment support for document question answering, summaries, etc. #2

Closed rstrahan closed 12 months ago

rstrahan commented 1 year ago

Add file attachment support for document question answering, summaries, etc.

DO NOT MERGE - for review only..

Issue #, if available: N/A

Description of changes:

  1. Support for latest service model API changes for a) ChatSync(), and b) PutFeedback()
  2. Downloads and attaches up to 5 file attachments from current message and previous messages in slack thread history to Q chat request. Filters files by supported type.
  3. Remove last message from replyThreadHistory, as it duplicates the current message
  4. Check installed versions of prerequisite commands
rstrahan commented 12 months ago

This PR is already integrated in branch feature/latest-apis. We'll merge it to develop when we merge that branch. Closing PR, now that it's been reviewed.