시작
Kore.ai 대화형 플랫폼
챗봇 개요
자연어 처리(NLP)
봇 개념 및 용어들
빠른 시작 가이드
봇 빌더 접근 방법
사용 고지 사항 (영어)
Kore.ai 봇 빌더로 작업하기
봇 구축 시작하기
릴리스 정보
현재 버전 (영어)
이전 버전 (영어)

개념
디자인
스토리보드
대화 작업
개요
Using the Dialog Builder Tool
노드 유형
사용자 의도 노드
대화 노드
엔티티 노드
양식 노드
확인 노드
서비스 노드
봇 조치 노드
Service Node
WebHook 노드
스크립트 노드
노드 그룹화하기
Agent Transfer Node
사용자 프롬프트
음성 통화 속성
대화 관리
노드 및 전환
구성 요소 전환
컨텍스트 개체
이벤트 기반 봇 조치
지식 그래프
소개
지식 추출
지식 그래프 생성
봇에 지식 그래프 추가
그래프 생성
지식 그래프 작성
FAQ 추가
작업 실행
기존 소스에서 FAQ 구축
특성, 동의어 및 불용어
변수 네임스페이스 관리
수정
용어 편집 및 삭제
용어 편집 및 삭제
질문과 응답 편집
Knowledge Graph Training
지식 그래프 분석
봇 온톨로지 가져오기 및 내보내기
지식 그래프 가져오기
지식 그래프 내보내기
지식 그래프 생성
CSV 파일에서
JSON 파일
지식 그래프 생성
경고 작업
스몰 토크
Digital Skills
디지털 양식
Views
Digital Views
Panels
Widgets
기차
봇 성능 향상 – NLP 최적화
기계 학습
소개
모델 검증
기초 의미
지식 그래프 학습
특성
순위 및 해결
고급 NLP 설정
NLP 설정 및 지침
봇 인텔리전스
소개
컨텍스트 관리
컨텍스트 관리
대화 관리
다중 – 의도 탐지
엔티티 수정
기본 대화
정서 관리
어조 분석
Test & Debug
봇과 대화
발화 테스트
배치 테스트하기
대화 테스트
배포
채널 활성화
봇 게시
분석
봇 분석하기
Conversations Dashboard
Performance Dashboard
사용자 정의 대시보드
소개
맞춤형 메타 태그
사용자 정의 대시보드 생성 방법
Conversation Flows
NLP 지표
Containment Metrics
사용량 지표
스마트 봇
소개
범용 봇
소개
범용 봇 정의
범용 봇 생성
범용 봇 학습
범용 봇 커스터마이징
범용 봇용 추가 언어 활성화
스토어
Manage Assistant
플랜 및 사용량
Overview
Usage Plans
Support Plans
플랜 관리
봇 인증
다국어 봇
개인 식별 정보 삭제하기
봇 변수 사용
IVR 통합
일반 설정
봇 관리

방법
간단한 봇 생성하기
Design Conversation Skills
뱅킹 봇 생성
뱅킹 봇 – 자금 이체
뱅킹 봇 – 잔액 업데이트
Knowledge Graph (KG) 구축
스마트 경고를 예약하는 방법
Design Digital Skills
디지털 양식 설정 방법
디지털 보기 설정 방법
데이터 테이블에 데이터를 추가하는 방법
데이터 테이블 내 데이터 업데이트 방법
UI 양식에서 데이터 테이블에 데이터를 추가하는 방법
Train the Assistant
특성 사용 방법
의도와 엔티티에 대한 패턴 사용 방법
컨텍스트 전환 관리 방법
Deploy the Assistant
상담사 전환을 설정하는 방법
봇 기능 사용 방법
콘텐츠 변수 사용 방법
전역 변수 사용 방법
Kore.ai 웹 SDK 튜토리얼
Kore.ai 위젯 SDK 튜토리얼
Analyze the Assistant
사용자 정의 대시보드 생성 방법
사용자 지정 태그를 사용하여 봇 메트릭을 필터링하는 방법

API 및 SDK
API 참조
Kore.ai API 사용
API 목록
API 컬렉션
koreUtil Libraries
SDK 참조
상담사 전환을 설정하는 방법
봇 기능 사용 방법
콘텐츠 변수 사용 방법
전역 변수 사용 방법
소개
Kore.ai 웹 SDK 튜토리얼
Kore.ai 위젯 SDK 튜토리얼

관리
소개
봇 관리자 콘솔
대시보드
사용자 관리
사용자 관리
그룹 관리
역할 관리
봇 관리 모듈
등록
사용자 초대
사용자 등록을 위한 대량 초대 보내기
사용자 및 사용자 데이터 가져오기
Active Directory에서 사용자 동기화
보안 및 준수
싱글 사인 온 사용
보안 설정
Kore.ai 커넥터
봇 관리자용 분석
Billing (지원하지 않음)
  1. Docs
  2. Virtual Assistants
  3. How Tos
  4. Travel Planing Assistant
  5. Travel VA: Configuring Digital Forms

Travel VA: Configuring Digital Forms

In this How-To, we will explore a scenario in a Travel Planning assistant, through which a user can book a flight. We will see how Digital Forms can be used to gather all the required information from the user, then make the booking based on that information.

For details on what Digital Forms are and how they are implemented in the Kore.ai XO Platform, refer here.

Problem Statement

Consider a Travel Planning Assistant helping a user book a flight. There are several information categories that the VA should collect from the user in order to complete this task. Rather than asking the user for each piece of information one by one, the VA can ask the user just once to complete a form that collects all the necessary data. Once the form is successfully submitted, the VA can pull the data and process the booking.

Prerequisites

To go through these configurations, you need to know at least the basics of the following XO Platform features:

Configurations

When a user makes a booking, the following needs to happen within your assistant

  1. A Digital Form needs to be displayed in order to gather input from the user;
  2. A Dialog Task needs to:
    1. trigger the above Digital Form; and
    2. capture the user-entered booking information.

Digital Form Configuration

Moving forward, we will be creating a form that gathers some of the necessary information in order to allow the user to book a flight:

  • Trip Type – Roundtrip or One Way.
  • Departure Airport (From);
  • Arrival Airport (To);
  • Departure Date;
  • Return Date  
  • Fare – default selection set to Premium Economy;
  • Pro Tip – showcases a promotional offer for Premium Economy seats and only displays when the selected Fare is Economy.
  • Passenger First Name and Last Name.

Form Creation

  1. From the Kore.ai XO Platform, open the Travel Planning assistant.
  2. Select the Build tab from the top menu.
  3. From the left navigation menu, select Digital Skills > Digital Forms.
  4. Click New Form and enter the following:
    1. Name – name to the form, say BookingForm
    2. Display Name for the form, say Booking Form
    3. Description of the form.
    4. Logo and style for the form header
    5. Description toggle set to on/off depending on whether you want to display the form description in the header
  5. Save & Proceed to the next step.

The Form Editor

The Form Editor opens with components on the left, and a blank form. You can drag and drop components to the form as per your requirement. By default, a Submit button is added to the form. This would trigger the submit event which would capture the user input and save in the context object. As soon as you drag and drop a component, its property settings panel will be displayed. There are several settings available for each component and you can set them up according to your own requirements. Some of these settings include: making a field mandatory, adding tooltips, securing field data, and more. This article takes you through the basic ones.

  1. Start by adding a selection field for the Trip Type. Drag and drop a Toggle component onto the form and set the following values:
    1. Display Name, say Trip Type.
    2. Name used for internal reference, say TripType.
    3. Description of the field.
    4. Placeholder value to be displayed in the field when blank, say, Please select whether you are booking a roundtrip.
    5. Value used to display functionality when the toggle is either on or off. When the toggle is enabled, set the value to Roundtrip. For the disabled state of the toggle, set the value to One Way.

  2. Drag and Drop a Dropdown component onto the form, for the From field.
    1. Display Name, say From.
    2. Name used for internal reference, say From.
    3. Description of the field.
    4. Placeholder value to be displayed in the field when blank, say, Select the trip type.
    5. Scroll and locate Data Settings, then click Add Values to enter the values. You can add a list of airports from which flights are departing.

  3. Repeat Step 2 to add the To field, for the arrival airport.
  4. Drag and drop a Date field onto the form, to add the Departure Date
    1. Display Name, say Departure Date.
    2. Name used for internal reference, say DepartureDate.
    3. Description of the field.
    4. Placeholder value to be displayed in the field when blank, say, Please select the departure date.

  5. Add a second Date field, for the Return Date and repeat Step 4. 
  6. Drag and drop a Radio Button component onto the form for the Fare field, and set it up as follows:
    1. Display Name, say Fare.
    2. Name used for internal reference, say Fare.
    3. Description of the field.
    4. Placeholder value to be displayed in the field when blank, say, Please select the Fare Category.
    5. Scroll and locate Data Settings, then click Add Values to enter the values – Economy, Premium Economy and First Class. You can mark one value, e.g. Premium Economy, as default. This would be selected by default at the time of execution.

  7. Add a Pro Tip component. This field will only be visible if the user selects Economy as the Fare.
    1. Display Name, say Pro Tip
    2. Name used for internal reference, say Protip.
    3. Description of the field, say Book a Premium Economy seat and get a free hot meal onboard.
    4. Placeholder value to be displayed in the field when blank. 
    5. Scroll down to Visibility Settings and click Add Visibility Rule. 
    6. Now, set the rule by building the following logical expression:Fare Equal to Value Economy.

      This rule ensures that the Pro Tip will only be visible when the user selects the Economy option under the Fare field.

  8. Drag and drop a Text Field component onto the form, to add the Passenger First Name field.
    1. Display Name, say Passenger First Name.
    2. Name used for internal reference, say PassengerFirstName.
    3. Description of the field.
    4. Placeholder value to be displayed in the field when blank, say, Enter the name of the account holder.

  9. Repeat Step 7 to add the Passenger Last Name field. 
  10. Use any additional fields that are required for your process. For example, a Select Flight field, as a Radio Button, further fields for flight documents, (as e.g.: Text, Text Area, etc.) onboard meal options (as e.g.: Checkboxes or Radio Buttons), etc.
  11. You can select how the VA handles the conversation when the user cancels the form. You can choose from two options:
    • Discard the task and trigger End of Task Event: This is the default option.
       
    • Continue with this task and transition to this node: In the Select Node drop-down list, you can select any node present in the current dialog task.

    Note: :The target node has to be in the same dialog, you cannot make a jump to a target node outside the current dialog. The list of target nodes only shows the local nodes. If the target node is not present during runtime, the platform presents the error Error in continuing the conversation, and the task should get discarded.

Your form is ready.

You can toggle between Desktop View and Mobile View to see how it looks on each device type. 

Use the Test button to see a preview. Below is a demo of the user experience with the form we have built:

 

Dialog Task Configuration

We will be creating a dialog task and adding a form node to trigger the Digital Form created in the above step and use a service node to make a service call to complete the booking process. Please see Using the Dialog Builder for details on working with Dialog Tasks. 

Create a Dialog Task

  1. Select the Build tab from the top menu
  2. From the left navigation menu, select Conversational Skills > Dialog Tasks.
  3. Click Create Dialog to create a new Task
    1. Enter the Intent Name, say, Book a Flight
    2. Create & Proceed to open the dialog builder page.

Add a Digital Form Node

  1. Click the + next to the intent node and select the Digital Form node.
  2. From the dropdown list select the Booking Form we created earlier.
  3. You will be prompted to select the Form Experience. Kore.ai XO Platform allows you to gather user input both from the form and through conversation based on the channel.
  4. For this use case, let us select Only Form UI experience.
  5. A Form Node would be added, you can customize the form name, etc.
  6. We are changing the Name to BookingForm and Display Name to Booking Form.

Add a Message Node

Next, we will see how to capture the values returned by the Form Node using a Script and a Message node..

  1. Add a Message Node to the form node.
  2. Set the Name to FormMessage and Display Name to Form Message.
  3. Click Manage under Bot Responses to open the message editor.
  4. Select the JavaScript tab and enter the following code. This is a simple script that captures some of the data from within the context object, as submitted by the user into the Form, and displays it accordingly.
    var message;
      message = 'You have booked a '+context.forms.BookingForm.TripType+' flight in the name of '+context.forms. BookingForm.PassengerLastName;
      message = message + ' and opted for '+ context.forms. BookingForm.Fare;
    print(message);

  5. Your dialog task is ready to use a digital form.

 

Test the Assistant

Talk to the bot to trigger the above dialog. The form will be displayed, enter the values and click Submit, the message will be displayed.

You can use the context object as shown above in Script or Service nodes for further processing of the booking.

See here for how to add this data into data tables.

Travel VA: Configuring Digital Forms

In this How-To, we will explore a scenario in a Travel Planning assistant, through which a user can book a flight. We will see how Digital Forms can be used to gather all the required information from the user, then make the booking based on that information.

For details on what Digital Forms are and how they are implemented in the Kore.ai XO Platform, refer here.

Problem Statement

Consider a Travel Planning Assistant helping a user book a flight. There are several information categories that the VA should collect from the user in order to complete this task. Rather than asking the user for each piece of information one by one, the VA can ask the user just once to complete a form that collects all the necessary data. Once the form is successfully submitted, the VA can pull the data and process the booking.

Prerequisites

To go through these configurations, you need to know at least the basics of the following XO Platform features:

Configurations

When a user makes a booking, the following needs to happen within your assistant

  1. A Digital Form needs to be displayed in order to gather input from the user;
  2. A Dialog Task needs to:
    1. trigger the above Digital Form; and
    2. capture the user-entered booking information.

Digital Form Configuration

Moving forward, we will be creating a form that gathers some of the necessary information in order to allow the user to book a flight:

  • Trip Type – Roundtrip or One Way.
  • Departure Airport (From);
  • Arrival Airport (To);
  • Departure Date;
  • Return Date  
  • Fare – default selection set to Premium Economy;
  • Pro Tip – showcases a promotional offer for Premium Economy seats and only displays when the selected Fare is Economy.
  • Passenger First Name and Last Name.

Form Creation

  1. From the Kore.ai XO Platform, open the Travel Planning assistant.
  2. Select the Build tab from the top menu.
  3. From the left navigation menu, select Digital Skills > Digital Forms.
  4. Click New Form and enter the following:
    1. Name – name to the form, say BookingForm
    2. Display Name for the form, say Booking Form
    3. Description of the form.
    4. Logo and style for the form header
    5. Description toggle set to on/off depending on whether you want to display the form description in the header
  5. Save & Proceed to the next step.

The Form Editor

The Form Editor opens with components on the left, and a blank form. You can drag and drop components to the form as per your requirement. By default, a Submit button is added to the form. This would trigger the submit event which would capture the user input and save in the context object. As soon as you drag and drop a component, its property settings panel will be displayed. There are several settings available for each component and you can set them up according to your own requirements. Some of these settings include: making a field mandatory, adding tooltips, securing field data, and more. This article takes you through the basic ones.

  1. Start by adding a selection field for the Trip Type. Drag and drop a Toggle component onto the form and set the following values:
    1. Display Name, say Trip Type.
    2. Name used for internal reference, say TripType.
    3. Description of the field.
    4. Placeholder value to be displayed in the field when blank, say, Please select whether you are booking a roundtrip.
    5. Value used to display functionality when the toggle is either on or off. When the toggle is enabled, set the value to Roundtrip. For the disabled state of the toggle, set the value to One Way.

  2. Drag and Drop a Dropdown component onto the form, for the From field.
    1. Display Name, say From.
    2. Name used for internal reference, say From.
    3. Description of the field.
    4. Placeholder value to be displayed in the field when blank, say, Select the trip type.
    5. Scroll and locate Data Settings, then click Add Values to enter the values. You can add a list of airports from which flights are departing.

  3. Repeat Step 2 to add the To field, for the arrival airport.
  4. Drag and drop a Date field onto the form, to add the Departure Date
    1. Display Name, say Departure Date.
    2. Name used for internal reference, say DepartureDate.
    3. Description of the field.
    4. Placeholder value to be displayed in the field when blank, say, Please select the departure date.

  5. Add a second Date field, for the Return Date and repeat Step 4. 
  6. Drag and drop a Radio Button component onto the form for the Fare field, and set it up as follows:
    1. Display Name, say Fare.
    2. Name used for internal reference, say Fare.
    3. Description of the field.
    4. Placeholder value to be displayed in the field when blank, say, Please select the Fare Category.
    5. Scroll and locate Data Settings, then click Add Values to enter the values – Economy, Premium Economy and First Class. You can mark one value, e.g. Premium Economy, as default. This would be selected by default at the time of execution.

  7. Add a Pro Tip component. This field will only be visible if the user selects Economy as the Fare.
    1. Display Name, say Pro Tip
    2. Name used for internal reference, say Protip.
    3. Description of the field, say Book a Premium Economy seat and get a free hot meal onboard.
    4. Placeholder value to be displayed in the field when blank. 
    5. Scroll down to Visibility Settings and click Add Visibility Rule. 
    6. Now, set the rule by building the following logical expression:Fare Equal to Value Economy.

      This rule ensures that the Pro Tip will only be visible when the user selects the Economy option under the Fare field.

  8. Drag and drop a Text Field component onto the form, to add the Passenger First Name field.
    1. Display Name, say Passenger First Name.
    2. Name used for internal reference, say PassengerFirstName.
    3. Description of the field.
    4. Placeholder value to be displayed in the field when blank, say, Enter the name of the account holder.

  9. Repeat Step 7 to add the Passenger Last Name field. 
  10. Use any additional fields that are required for your process. For example, a Select Flight field, as a Radio Button, further fields for flight documents, (as e.g.: Text, Text Area, etc.) onboard meal options (as e.g.: Checkboxes or Radio Buttons), etc.
  11. You can select how the VA handles the conversation when the user cancels the form. You can choose from two options:
    • Discard the task and trigger End of Task Event: This is the default option.
       
    • Continue with this task and transition to this node: In the Select Node drop-down list, you can select any node present in the current dialog task.

    Note: :The target node has to be in the same dialog, you cannot make a jump to a target node outside the current dialog. The list of target nodes only shows the local nodes. If the target node is not present during runtime, the platform presents the error Error in continuing the conversation, and the task should get discarded.

Your form is ready.

You can toggle between Desktop View and Mobile View to see how it looks on each device type. 

Use the Test button to see a preview. Below is a demo of the user experience with the form we have built:

 

Dialog Task Configuration

We will be creating a dialog task and adding a form node to trigger the Digital Form created in the above step and use a service node to make a service call to complete the booking process. Please see Using the Dialog Builder for details on working with Dialog Tasks. 

Create a Dialog Task

  1. Select the Build tab from the top menu
  2. From the left navigation menu, select Conversational Skills > Dialog Tasks.
  3. Click Create Dialog to create a new Task
    1. Enter the Intent Name, say, Book a Flight
    2. Create & Proceed to open the dialog builder page.

Add a Digital Form Node

  1. Click the + next to the intent node and select the Digital Form node.
  2. From the dropdown list select the Booking Form we created earlier.
  3. You will be prompted to select the Form Experience. Kore.ai XO Platform allows you to gather user input both from the form and through conversation based on the channel.
  4. For this use case, let us select Only Form UI experience.
  5. A Form Node would be added, you can customize the form name, etc.
  6. We are changing the Name to BookingForm and Display Name to Booking Form.

Add a Message Node

Next, we will see how to capture the values returned by the Form Node using a Script and a Message node..

  1. Add a Message Node to the form node.
  2. Set the Name to FormMessage and Display Name to Form Message.
  3. Click Manage under Bot Responses to open the message editor.
  4. Select the JavaScript tab and enter the following code. This is a simple script that captures some of the data from within the context object, as submitted by the user into the Form, and displays it accordingly.
    var message;
      message = 'You have booked a '+context.forms.BookingForm.TripType+' flight in the name of '+context.forms. BookingForm.PassengerLastName;
      message = message + ' and opted for '+ context.forms. BookingForm.Fare;
    print(message);

  5. Your dialog task is ready to use a digital form.

 

Test the Assistant

Talk to the bot to trigger the above dialog. The form will be displayed, enter the values and click Submit, the message will be displayed.

You can use the context object as shown above in Script or Service nodes for further processing of the booking.

See here for how to add this data into data tables.

메뉴