在聊天應用程式中與 Amazon Q Developer 聊天 - Amazon Q Developer

在聊天應用程式中與 Amazon Q Developer 聊天

您可以在 Microsoft Teams 和 Slack 聊天應用程式中與 Amazon Q Developer 聊天。在設定的頻道中,Amazon Q 可以回答有關建置解決方案、問題故障診斷及識別後續步驟之最佳實務的問題。下列 Amazon Q 聊天功能可在設定的聊天應用程式中使用:

如需有關在聊天應用程式中使用 Amazon Q 時可用的完整功能的詳細資訊,請參閱《聊天應用程式中的 Amazon Q Developer 管理員指南》中的什麼是聊天應用程式中的 Amazon Q Developer?

注意

當您在聊天應用程式中使用 Amazon Q Developer 時,僅限存取 Amazon Q Developer 免費方案。

在頻道中啟用 Amazon Q 聊天

若要將聊天功能新增至已在 Amazon Q Developer 中設定的 Microsoft Teams 或 Slack 頻道,請完成下列步驟。若是第一次在聊天應用程式中設定 Amazon Q Developer,並且要允許使用者與 Amazon Q 聊天,請參閱《聊天應用程式中的 Amazon Q Developer 管理員指南》中的開始使用 Microsoft Teams開始使用 Slack

您必須先將 Amazon Q 新增至頻道,才能從 Microsoft Teams 或 Slack 頻道向 Amazon Q 提問。首先,更新您的 AWS Identity and Access Management (IAM) 角色設定以包含 AmazonQDeveloperAccess 受管政策,然後新增政策作為頻道防護機制。如果您需要管理員存取權,請改為新增 AmazonQFullAccess 政策。

  1. AmazonQDeveloperAccess 受管政策新增至您的 IAM 角色。

    1. 登入 AWS Management Console 並開啟 IAM 主控台

    2. 在 IAM 主控台的導覽窗格中,選擇角色

    3. 選擇要查看的角色名稱。

    4. 許可政策中,選擇新增許可連接政策

    5. 在搜尋中輸入 AmazonQDeveloperAccess

    6. 選取 AmazonQDeveloperAccess

    7. 選擇新增許可

  2. AmazonQDeveloperAccess 受管政策新增至您的頻道防護機制:

    1. 開啟聊天應用程式中的 Amazon Q Developer 主控台

    2. 選擇已設定的用戶端。

    3. 選取已設定的頻道。

    4. 選擇設定防護機制

    5. 在搜尋中輸入 AmazonQDeveloperAccess

    6. 選取 AmazonQDeveloperAccess

    7. 選擇儲存

在您的頻道中向 Amazon Q 提出問題

若要檢查您的組態是否成功,請向 Amazon Q 提出問題。輸入 @Amazon Q 後面接著您的問題。

以下是您可以從已設定頻道向 Amazon Q 提出的一些問題範例:

  • @Amazon Q how do I troubleshoot lambda concurrency issues?

  • @Amazon Q what are the best practices for securing S3 buckets?

  • @Amazon Q what is the maximum zipped file size for a lambda?

  • @Amazon Q get the configuration for my lambda function name?

  • @Amazon Q what is the size of the auto scaling group name in us-east-2?

  • @Amazon Q can you show ec2 instances running in us-east-1?