봇 대화에서 캐러셀 작업

캐러셀은 일련의 카드를 포함하는 봇 응답입니다. 캐러셀과 상호 작용하기 위해 고객은 카드 옵션을 스크롤한 다음 카드와 연결된 버튼을 사용하여 옵션을 선택할 수 있습니다.

캐러셀은 자동화된 경험과 함께 고급 옵션과 작업을 제공하여 봇 대화를 촉진합니다. 캐러셀은 설명, 이미지, 제목, 텍스트 및 외부 웹사이트에 대한 선택적 추천이 포함된 일련의 카드를 제시함으로써 고객에게 정교한 옵션 세트를 제공합니다. 카드에 대한 자세한 내용은 다음을 참조하십시오. 봇 대화에서 카드 작업.

예 Genesys Web Messenger의 캐러셀

회전 목마 애니메이션

봇 및 채널 지원

현재 지원되는 봇:

  • Amazon Lex V2
  • Google Dialogflow
  • Google Dialog Flow CX
  • Bot Connector

현재 지원되는 봇:

  • Facebook 메신저
  • Genesys 웹 메시징
  • LINE
  • 인스타그램(베타)

봇 응답에서 캐러셀 구조를 설계하고 구현할 때 다음 제한 사항을 고려하세요.

  • 단일 캐러셀에 최대 10개의 카드를 구현할 수 있습니다.
  • 카드 구조의 버튼에 구성하는 페이로드는 캐러셀의 모든 카드에서 고유해야 합니다.
  • Twitter와 WhatsApp은 캐러셀 구조를 지원하지 않습니다.
  • Amazon Lex V1은 사용자 지정 JSON을 1000자로 제한합니다. 캐러셀을 만드는 데 1000자 이상을 사용해야 하는 경우 이 제한이 구현에 영향을 줄 수 있습니다.
  • WhatsApp, LINE 또는 Twitter에서는 기본 작업이 지원되지 않습니다. 이러한 응용 프로그램에서 기본 작업을 구성하면 응용 프로그램에서 이를 무시합니다.

Amazon Lex V2

이 섹션에서는 캐러셀을 Amazon Lex V1 봇에 통합하는 방법을 설명하고 사용 사례 예제 및 기타 리소스를 포함합니다.

참고: AWS UI를 통해 캐러셀을 설정할 수도 있습니다. 다음 섹션인 사용 사례를 참조하세요. 슬롯 채우기
  1. Genesys AppFoundry에서 Amazon Lex 통합 설치.
  2. Amazon Lex 앱에 대한 권한으로 IAM 역할 구성.
  3. Genesys Cloud에서 Lex 통합 구성 및 활성화.
  4. AWS Lex 콘솔에서 캐러셀 옵션을 설정하려면 이 사용자 지정 JSON을 사용하여 봇의 의도에 대한 카드를 정의합니다.
    참고: Amazon Lex V1은 JSON 길이를 1000자로 제한합니다.
{
    "genesys_prompt": "String", // optional message text
    "genesys_carousel": [
         {
              "title": "String", // mandatory text to show in the title
              "description": "String", // optional text to show in the description
              "image": "URL", // optional URL of an image
              "defaultAction":  { // optional default button action
                    "type": "String", // Describes the type of action. Valid values Link Postback
                    "text": "String", // The response text from the button click
                    "payload": "String", // Text to be returned as the payload from a ButtonResponse when a button is clicked. The payload and text are a combination which will have to be unique across each card and carousel in order to determine which button was clicked in that card or carousel.
                    "url": "String" // A URL of a web page to direct the user to.
              },
              "actions": [
                    {                                      
                         "type": "String", // Describes the type of action.  Valid values Link Postback
                         "text": "String", // The response text from the button click
                         "payload": "String" // Text to be returned as the payload from a ButtonResponse when a button is clicked. The payload and text are a combination which will have to be unique across each card and carousel in order to determine which button was clicked in that card or carousel.
                    },
                    {
                         "type": "String", // Describes the type of action.  Valid values Link Postback
                         "text": "String", // The response text from the button click
                         "url": "String" // A URL of a web page to direct the user to.
                    }
              ]
         }
    ]
}

카드 옵션을 사용하여 봇의 슬롯을 채우려면 AWS 콘솔 카드 편집기를 사용하십시오. 캐러셀을 만들려면 카드 추가 옵션을 선택하고 캐러셀에 카드를 더 추가합니다.

이미지를 클릭하면 확대됩니다.

Amazon Lex V1의 카드

참고: 웹 URL 버튼은 사용자 정의 JSON을 통해서만 지원됩니다. 자세한 내용은 다음 섹션을 참조하십시오.
 

캐러셀 옵션을 사용하여 봇의 의도 간에 전환하려면 AWS Lex 콘솔에서 이전 섹션의 사용자 지정 JSON을 응답 입력 필드에 복사합니다. 여러 카드 구조를 정의하여 캐러셀을 만듭니다.

이미지를 클릭하면 확대됩니다.

회전 목마 Amazon Lex

 

더 알아보기

Google Dialogflow ES만 해당:

이 섹션에서는 캐러셀을 Google Dialogflow ES 또는 CX 봇에 통합하는 방법을 설명하고 사용 사례 예시 및 기타 리소스를 포함합니다.

  1. Genesys AppFoundry에서 Google Dialogflow 통합 설치.
  2. Google Dialogflow 플랫폼 서비스 계정 자격 증명 구성.
  3. Google Dialogflow 통합 사용.
  4. Dialogflow 콘솔에서 캐러셀을 설정하려면 이 사용자 지정 JSON을 사용하여 봇의 의도에 대한 카드 옵션을 정의합니다. 여러 카드 구조를 사용하여 캐러셀을 만듭니다.
{
   "genesys_prompt": "String", // optional message text
   "genesys_carousel": [
        {
             "title": "String", // mandatory text to show in the title
             "description": "String", // optional text to show in the description
             "image": "URL", // optional URL of an image
             "defaultAction":  { // optional default button action
                   "type": "String", // Describes the type of action. Valid values Link Postback
                   "text": "String", // The response text from the button click
                   "payload": "String", // Text to be returned as the payload from a ButtonResponse when a button is clicked. The payload and text are a combination which will have to be unique across each card and carousel in order to determine which button was clicked in that card or carousel.
                   "url": "String" // A URL of a web page to direct the user to.
             },
             "actions": [
                   {                                      
                        "type": "String", // Describes the type of action.  Valid values Link Postback
                        "text": "String", // The response text from the button click
                        "payload": "String" // Text to be returned as the payload from a ButtonResponse when a button is clicked. The payload and text are a combination which will have to be unique across each card and carousel in order to determine which button was clicked in that card or carousel.
                   },
                   {
                        "type": "String", // Describes the type of action.  Valid values Link Postback
                        "text": "String", // The response text from the button click
                        "url": "String" // A URL of a web page to direct the user to.
                   }
             ]
        }
   ]
}

캐러셀 옵션을 사용하여 봇의 인텐트 간에 전환하려면 Dialogflow 콘솔에서 이전 섹션의 사용자 지정 JSON을 응답 입력 필드에 추가합니다.

Google Cloud Dialogflow ES 예시

이미지를 클릭하면 확대됩니다.

Google Cloud Dialogflow ES 캐러셀 인텐트 전환

캐러셀 옵션을 사용하여 봇의 슬롯을 채우려면 이전 섹션의 사용자 지정 JSON을 웹훅에 사용합니다. 여러 카드 구조를 사용하여 캐러셀을 만듭니다. 이를 위해 AWS Lambda를 사용할 수도 있습니다. 자세한 내용은 슬롯 채우기용 웹훅 Google Cloud Dialogflow ES 가이드에서

더 알아보기

Bot Connector

이 섹션에서는 Genesys Bot Connector 봇에 빠른 응답을 통합하고 기타 리소스를 포함하는 방법을 설명합니다.