시작
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. Create an ‘Update Booking’ Task

Create an ‘Update Booking’ Task

This document is part of the documentation that shows you the steps in creating a sample Travel Planning Assistant. 

Assistant Capabilities

The assistant we build will perform basic travel booking tasks, as follows:

In this article, therefore, we will be configuring the assistant to update a booking, by configuring an Update Booking Intent. For the purpose of this use case, we will work with a Name update.

Update Booking Dialog Task / Intent

  • The Update booking task will prompt the user to enter the booking number corresponding to the booking that they want to update. 
  • It would then prompt for the type of update – e.g. Name or Passport Number. 
  • A service call will be made to fetch the details, and then another service call to update the booking.
  • The success/failure message will be displayed.

To create an Update Booking Dialog Task / Intent:

  1. Open the Travel Planning Assistant  with the Get Flight Status task already configured.
  2. Navigate to Build > Conversational Skills > Dialog Tasks.
  3. Click Create Dialog from the top right. The Create Dialog screen will open.
  4. Enter the following details:
    1. Intent Name – Enter the Intent name, this is the phrase that triggers the dialog. The intent name should be simple and not more than 3-4 words. For example, Update Booking.
    2. You can add a description and under More Options other dialog-related details. Let’s retain the default settings without any changes.
    3. You can also include utterances to train this intent.
    4. Select Try Conversation Driven Dialog Builder option.
  5. Click Proceed.
  6. The Property Panel for User Intent will be displayed. We will retain the default properties.

    Note: For instructions related to the Legacy Dialog Builder, refer here

  7. Close the User Intent Property Panel.

Add Entity nodes (Booking Number & Update Type)

The Entity Node is typically used to gather information from the user.

Here we will be using it to capture the user input for Booking Number and type of update. 

Add an Entity node that retrieves the Booking Number as follows:

  1. Click the + below the User Intent node
  2. Select the Entity option and click +New Entity.
  3. The Property Panel for the Entity Node is displayed, if not click on the newly created entity to open it.
  4. Enter the following details:
    1. Name: BookingNumber
    2. Display Name: Booking Number
    3. Type: Number

 

Add an Entity Node that retrieves the Update Type 

  1. Click the + below the Booking Number node
  2. Select the Entity option.
  3. Click + New entity 
  4. The Property Panel for the Entity Node is displayed, if not click on the newly created entity to open it.
    1. Enter the following details:
      1. Name: UpdateType
      2. Display Name: Update Type 
      3. Type: Select List of Items (enumerated)from the drop-down. We need to provide the list of values that the user can select.
        1. Click the Settings (gear) icon that appears next to the field.
        2. Opt for Static List.
        3. Enter the following options under separate rows as the Display name Name and Passport Number. Value and Synonym columns will auto-populate, leave them as is.
        4. Define the percentage of Auto-correction to be applied to match the user’s input to a value in the list.
        5. Click Save.
      4. Navigate back to the Entity Property Panel.
      5. User Prompts: Enter the following text and hit enter to save:
        What would you like to update?
      6. Display List Of Values: Mark asYes, use channel specific standard formatting for default messages and show the available list of values to the end user‘. This will present the list of values in a button template for the supported channels.
    2. Close the UpdateType Entity Property Panel.

 

Add an Entity Node that retrieves the Updated Name, as follows: 

  1. Click the + below the UpdateType node
  2. \Select the Entity option and click +New Entity.
  3. The Property Panel for the Entity Node is displayed, if not click on the newly created entity to open it. Enter the following details:
    • Name: Name
    • Display Name: Name
    • Type: String
    • User Prompts: Enter the following text and hit enter to save:
      Please enter your full name.

Add a Bot Action – Service Node (Get Booking Details)

A Service Node allows you to make a backend API call. It is included in the Bot Actions node.

Here the service node is used to call an API to get the booking details  for the user entered booking number.

We will be using a dummy API setup for this tutorial. We will be using a mock API created specifically for this purpose with the following fields – FirstName, LastName, Address, City, Country, ZipCode, BookingNumber.

  1. Click the + below the UpdateType Entity node
  2. Select Bot Action, click to open properties, name it GetBooking , and close the properties window.
  3. To add a service node, click the + next to the Get Booking Bot Action node to expand it
  4. Click the + within the Bot Action layout.
  5. Select Service – Service node is used to make a backend API call to get booking information.
    1. Click + New Service
    2. The Property Panel for the Service Node is displayed, if not click on the newly created entity node to open it.
    3. Enter the following details:
      1. Name: GetBooking
      2. Display Name: Get Booking
    4. Under Request Definition: click Define Request and enter it.

Add a Bot Action – Service Node (Update Balance)

Here the service node is used to call an API to update the account balance for the user entered booking number.

We will be using a dummy API setup for this tutorial.

  1. Click the + below the GetBooking  Service node
  2. Select Service – Service node is used to make a backend API call to update booking information.
  3. Click + New service 
  4. The Property Panel for the Service Node is displayed, if not click on the newly added service node to open
  5. Enter the following details:
    1. Name: UpdateBooking
    2. Display Name: Update Booking
    3. Service Type: Custom Service
    4. Type: Webservice
    5. Sub Type: REST
    6. Click DEFINE REQUEST
      • In the Define Request Page, enter the following details:
        • Request typePUT
        • Request URLhttps://5c3c633d29429300143fe4d2.mockapi.io/AccountDetails/{{context.entities.BookingNumber}}.
        • This API does not require any Auth Parameters.
        • In the Body tab, select the type as application/json.
        • Select the Test Request tab.
        • Enter an account number and balance in the Sample Context Values section.
        • Click the Test button.
        • Wait for the test to be completed and you get a Status: 200.
        • Click Save as Sample Response.
        • Click Save.
    7. On the Service node Property window, click the Connections tab.
      • Under the Connection Rules section, ensure that the Default connection is set to End of Bot Action.
    8. Close the Service Property Panel
    9. Click next to the Bot Action node to collapse it.

Add a Message Node

A Message Node is used to display a message from the assistant to the user.

Here we will be using the Message node to show the success message.

  1. Click the + below the GetBooking Bot Action
  2. Select Message and click the + New message 
  3. Property Panel for the Message Node is displayed
  4. Enter the following details:
    1. Name: BookingUpdated
    2. Display Name: Booking Updated
    3. Bot Responses: Enter Your booking has been updated.
  5. On the Message Property Panel, click the Connections icon.
    1. Change the Default connection from Not Connected to End of Dialog‘.
    2. Click Save.
  6. Close the Property Panel.

When completed, your task may look similar to the one illustrated below: 

Test the Assistant

To test the Dialog task, you can use the Talk to bot feature, at the bottom right corner of the Platform.

Enter the following utterance (intent name) – “Update Booking

Follow the Bot instructions:

  • Enter Booking Number – 29565731.
  • Select the Update Type – Choose Name.
  • Enter the Name: e.g. Anne Smith.
  • See the success message.

Create an ‘Update Booking’ Task

This document is part of the documentation that shows you the steps in creating a sample Travel Planning Assistant. 

Assistant Capabilities

The assistant we build will perform basic travel booking tasks, as follows:

In this article, therefore, we will be configuring the assistant to update a booking, by configuring an Update Booking Intent. For the purpose of this use case, we will work with a Name update.

Update Booking Dialog Task / Intent

  • The Update booking task will prompt the user to enter the booking number corresponding to the booking that they want to update. 
  • It would then prompt for the type of update – e.g. Name or Passport Number. 
  • A service call will be made to fetch the details, and then another service call to update the booking.
  • The success/failure message will be displayed.

To create an Update Booking Dialog Task / Intent:

  1. Open the Travel Planning Assistant  with the Get Flight Status task already configured.
  2. Navigate to Build > Conversational Skills > Dialog Tasks.
  3. Click Create Dialog from the top right. The Create Dialog screen will open.
  4. Enter the following details:
    1. Intent Name – Enter the Intent name, this is the phrase that triggers the dialog. The intent name should be simple and not more than 3-4 words. For example, Update Booking.
    2. You can add a description and under More Options other dialog-related details. Let’s retain the default settings without any changes.
    3. You can also include utterances to train this intent.
    4. Select Try Conversation Driven Dialog Builder option.
  5. Click Proceed.
  6. The Property Panel for User Intent will be displayed. We will retain the default properties.

    Note: For instructions related to the Legacy Dialog Builder, refer here

  7. Close the User Intent Property Panel.

Add Entity nodes (Booking Number & Update Type)

The Entity Node is typically used to gather information from the user.

Here we will be using it to capture the user input for Booking Number and type of update. 

Add an Entity node that retrieves the Booking Number as follows:

  1. Click the + below the User Intent node
  2. Select the Entity option and click +New Entity.
  3. The Property Panel for the Entity Node is displayed, if not click on the newly created entity to open it.
  4. Enter the following details:
    1. Name: BookingNumber
    2. Display Name: Booking Number
    3. Type: Number

 

Add an Entity Node that retrieves the Update Type 

  1. Click the + below the Booking Number node
  2. Select the Entity option.
  3. Click + New entity 
  4. The Property Panel for the Entity Node is displayed, if not click on the newly created entity to open it.
    1. Enter the following details:
      1. Name: UpdateType
      2. Display Name: Update Type 
      3. Type: Select List of Items (enumerated)from the drop-down. We need to provide the list of values that the user can select.
        1. Click the Settings (gear) icon that appears next to the field.
        2. Opt for Static List.
        3. Enter the following options under separate rows as the Display name Name and Passport Number. Value and Synonym columns will auto-populate, leave them as is.
        4. Define the percentage of Auto-correction to be applied to match the user’s input to a value in the list.
        5. Click Save.
      4. Navigate back to the Entity Property Panel.
      5. User Prompts: Enter the following text and hit enter to save:
        What would you like to update?
      6. Display List Of Values: Mark asYes, use channel specific standard formatting for default messages and show the available list of values to the end user‘. This will present the list of values in a button template for the supported channels.
    2. Close the UpdateType Entity Property Panel.

 

Add an Entity Node that retrieves the Updated Name, as follows: 

  1. Click the + below the UpdateType node
  2. \Select the Entity option and click +New Entity.
  3. The Property Panel for the Entity Node is displayed, if not click on the newly created entity to open it. Enter the following details:
    • Name: Name
    • Display Name: Name
    • Type: String
    • User Prompts: Enter the following text and hit enter to save:
      Please enter your full name.

Add a Bot Action – Service Node (Get Booking Details)

A Service Node allows you to make a backend API call. It is included in the Bot Actions node.

Here the service node is used to call an API to get the booking details  for the user entered booking number.

We will be using a dummy API setup for this tutorial. We will be using a mock API created specifically for this purpose with the following fields – FirstName, LastName, Address, City, Country, ZipCode, BookingNumber.

  1. Click the + below the UpdateType Entity node
  2. Select Bot Action, click to open properties, name it GetBooking , and close the properties window.
  3. To add a service node, click the + next to the Get Booking Bot Action node to expand it
  4. Click the + within the Bot Action layout.
  5. Select Service – Service node is used to make a backend API call to get booking information.
    1. Click + New Service
    2. The Property Panel for the Service Node is displayed, if not click on the newly created entity node to open it.
    3. Enter the following details:
      1. Name: GetBooking
      2. Display Name: Get Booking
    4. Under Request Definition: click Define Request and enter it.

Add a Bot Action – Service Node (Update Balance)

Here the service node is used to call an API to update the account balance for the user entered booking number.

We will be using a dummy API setup for this tutorial.

  1. Click the + below the GetBooking  Service node
  2. Select Service – Service node is used to make a backend API call to update booking information.
  3. Click + New service 
  4. The Property Panel for the Service Node is displayed, if not click on the newly added service node to open
  5. Enter the following details:
    1. Name: UpdateBooking
    2. Display Name: Update Booking
    3. Service Type: Custom Service
    4. Type: Webservice
    5. Sub Type: REST
    6. Click DEFINE REQUEST
      • In the Define Request Page, enter the following details:
        • Request typePUT
        • Request URLhttps://5c3c633d29429300143fe4d2.mockapi.io/AccountDetails/{{context.entities.BookingNumber}}.
        • This API does not require any Auth Parameters.
        • In the Body tab, select the type as application/json.
        • Select the Test Request tab.
        • Enter an account number and balance in the Sample Context Values section.
        • Click the Test button.
        • Wait for the test to be completed and you get a Status: 200.
        • Click Save as Sample Response.
        • Click Save.
    7. On the Service node Property window, click the Connections tab.
      • Under the Connection Rules section, ensure that the Default connection is set to End of Bot Action.
    8. Close the Service Property Panel
    9. Click next to the Bot Action node to collapse it.

Add a Message Node

A Message Node is used to display a message from the assistant to the user.

Here we will be using the Message node to show the success message.

  1. Click the + below the GetBooking Bot Action
  2. Select Message and click the + New message 
  3. Property Panel for the Message Node is displayed
  4. Enter the following details:
    1. Name: BookingUpdated
    2. Display Name: Booking Updated
    3. Bot Responses: Enter Your booking has been updated.
  5. On the Message Property Panel, click the Connections icon.
    1. Change the Default connection from Not Connected to End of Dialog‘.
    2. Click Save.
  6. Close the Property Panel.

When completed, your task may look similar to the one illustrated below: 

Test the Assistant

To test the Dialog task, you can use the Talk to bot feature, at the bottom right corner of the Platform.

Enter the following utterance (intent name) – “Update Booking

Follow the Bot instructions:

  • Enter Booking Number – 29565731.
  • Select the Update Type – Choose Name.
  • Enter the Name: e.g. Anne Smith.
  • See the success message.

메뉴