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

AIConversation with pdf or txt file as input #6270

Open
4 tasks done
fvisticot opened this issue Dec 22, 2024 · 1 comment
Open
4 tasks done

AIConversation with pdf or txt file as input #6270

fvisticot opened this issue Dec 22, 2024 · 1 comment
Labels
AI An issue or a feature-request for an AI UI Component feature-request Request a new feature pending-maintainer-response Issue is pending response from an Amplify UI maintainer

Comments

@fvisticot
Copy link

Before creating a new issue, please confirm:

On which framework/platform are you having an issue?

React

Which UI component?

Other

How is your app built?

Next.js

What browsers are you seeing the problem on?

Chrome

Which region are you seeing the problem in?

No response

Please describe your bug.

I'm using the demo application https://github.com/aws-samples/amplify-ai-examples

All is working file when I add an image as an input.

If i try to add a document (pdf or txt) it does not work. no error but nothing is returned.

Is the a.conversation able to manage ConverseAPI document ? or only image.
image

What's the expected behaviour?

Get the result from uploaded file content

Help us reproduce the bug!

Mutation to send the file (txt)

 mutation MyMutation($conversationId: ID!, $text: String, $bytes: String!, $format: String! ,$name: String!) {
  chat(content: {document: {format: $format, name: $name, source: {bytes: $bytes}}, text: $text}, conversationId: $conversationId) {
    content {
      text
    }
  }
}

GraphQLResponse<String>: {
  "data": "{\"chat\":{\"content\":[{\"text\":\"describe the content of the file rules\"}]}}",
  "errors": []
}

Code Snippet

// Put your code below this line.

Console log output

No response

Additional information and screenshots

No response

@github-actions github-actions bot added pending-triage Issue is pending triage pending-maintainer-response Issue is pending response from an Amplify UI maintainer labels Dec 22, 2024
@jordanvn
Copy link
Member

Hello @fvisticot, thank you for opening this issue. I believe it is correct that these features are not currently supported, but I cannot speak with certainty on where they might fall on our roadmap. This ticket will be updated with information when possible

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending response from an Amplify UI maintainer label Dec 23, 2024
@jordanvn jordanvn added feature-request Request a new feature AI An issue or a feature-request for an AI UI Component pending-maintainer-response Issue is pending response from an Amplify UI maintainer and removed pending-triage Issue is pending triage labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI An issue or a feature-request for an AI UI Component feature-request Request a new feature pending-maintainer-response Issue is pending response from an Amplify UI maintainer
Projects
None yet
Development

No branches or pull requests

2 participants