选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Uploading files

聚焦模式
Uploading files - Amazon Q Business
此页面尚未翻译为您的语言。 请求翻译

To upload documents directly to an Amazon Q Business application environment, you can use the AWS Management Console or the BatchPutDocument API operation.

If you use an Amazon Kendra index to retrieve your documents, you can't directly upload documents.

Note

This procedure is available if you chose to create a new Amazon Q Business index for your application environment. Files can only be uploaded after the Amazon Q Business index and retriever creation process has completed.

The following tabs provide a procedure for the AWS Management Console and code examples for the AWS CLI.

Console

To upload files

  1. Sign in to the AWS Management Console and open the Amazon Q Business console.

  2. Complete the steps to create your Amazon Q Business application.

  3. Complete the steps for creating an Amazon Q Business index.

  4. Then, from the left navigation menu, choose Data sources.

  5. From the Data sources page, choose Add data source.

  6. Then, on the Add data sources page, from Data sources choose Upload files.

  7. Then, in Upload files, select one of the following methods to add your files:

    • Drag and drop the document files that you want to upload.

    • Add your documents to the application environment, and then select Choose files.

  8. After choosing your files, choose Upload.

    You are returned to the Amazon Q Business console while your documents are uploaded. The console displays a confirmation message when your documents are successfully uploaded.

AWS CLI

To upload documents directly

aws qbusiness batch-put-document \ --application-id application-id \ --index-id index-id \ --documents documents-to-add \ --data-source-sync-id data-source-sync-id \ --role-arn roleArn

To upload files

  1. Sign in to the AWS Management Console and open the Amazon Q Business console.

  2. Complete the steps to create your Amazon Q Business application.

  3. Complete the steps for creating an Amazon Q Business index.

  4. Then, from the left navigation menu, choose Data sources.

  5. From the Data sources page, choose Add data source.

  6. Then, on the Add data sources page, from Data sources choose Upload files.

  7. Then, in Upload files, select one of the following methods to add your files:

    • Drag and drop the document files that you want to upload.

    • Add your documents to the application environment, and then select Choose files.

  8. After choosing your files, choose Upload.

    You are returned to the Amazon Q Business console while your documents are uploaded. The console displays a confirmation message when your documents are successfully uploaded.

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。