시작
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. Integrations
  2. Test and Debug

Test and Debug

The following sections describe how you can test and debug your Virtual Assistant to validate the working of External NLU.

Talk to Bot

After completing the steps in Adapter Configuration and enabling the API, to check if the intent identification is done by External NLU adapter or not, you can follow these steps:

    1. Go to your VA and click Talk to Bot.
    2. Enter a user utterance which matches the intent entered in the Dialogflow Essentials page.
    3. In the Debug Log panel of the user conversation, you can see a message that, intent identified using External NLU is initiated.


You can also analyze the Debug Log, NL Analysis, and Session Context & Variables to understand the intent detection mechanism.

Debug Log

If the external NLU is enabled, the Debug Log displays whether the intent is detected by External NLU or not before the ‘Intent node initiated’ debug log entry. In case of call failure, an error response is displayed in the debug log entry.

This is displayed only if an external NLU is enabled. If the API call fails, it is also indicated in the debug log statement.

    • Intent detected by the External NLU engine is always marked as a Definitive Match.
      If intent is not detected by the External NLU engine, it is tracked in Debug Log.
    • The debug logs display the request and response payload for the calls made to the LLM by the Dynamic Conversation features only.
    • Under Session Context & Variables, you can see the variables for intents and entities in detail as shown in the following screenshots.

 

 

NLP Analysis

By using NL analysis, you can see whether the intent was identified or not by an external NLU engine. This works from all the workflows that provide the NLP analysis. For example – Talk to Bot, Utterance Testing, Batch Testing, Health and Monitoring, and NLP Insights.

See the following sections to understand more details.

Utterance Testing

Utterance Testing also provides NLP Analysis. The Matched Intents and Fields/Entities tables that provide an easy way to update training data like synonyms, patterns, etc are not displayed if the Intent is identified on the external NLU engine.

    • If the intent is detected by an external engine, the utterance is not sent to the Kore.ai NLP engine.

    • Click the View Response link to view the API response in the JSON format, received from the external NLU engine in both cases of whether intent is detected or not detected by the external NLU.

    • If the intent is not detected by the external engine, the Kore.ai NLU engine acts as a fallback. So, in this case, the NLP analysis shows the analysis of intent detection results from our three engines along with the ranking and resolver. For more information, see Ranking and Resolver.

    • If the intent is detected by the external engine but cannot be mapped to any intent on the XO platform, even then the Kore.ai NLU engine acts as a fallback. In this case, the NLP analysis displays a relevant message along with the API response containing the detected Intents and parameters.

Batch Testing

The test case result for True positive, False Positive, True Negative, and False Negative(TP, FP, TN, FN) scenarios is generated based on the net outcome of a combined result of External NLU and Kore.ai NLU engine.

For example, irrespective of whether the expected intent is detected by the External NLU or Kore.ai engine, the test result is TP. If the net result is a wrong intent identified, the test result should be FP. In case of no intent detected by any of the engines, it is classified as TN, when no intent was expected but some intent was detected, then it is FN.

Note: There is no common base to compare the scores of all the engines, hence scores sent by the external NLU are not considered.

For any intent detected by the external NLU, it should be considered that the thresholds have been met and in the ‘Matched Intent Score’ column, this is indicated as ExtNLU (without any score against it) in place of ML, FM, or KG scores. This can be viewed in the downloaded CSV under NLU of Batch Testing. To know more, see Batch Testing.

If the ExtNLU returns multiple intents, the thresholds met for all those intents are considered and accordingly the test result is concluded.

Health and Monitoring

In Health and Monitoring go to Test Cases —> Detailed Analysis to see the Intents and Entities identified by External NLU, without any scores. The Traits engine is not dependent on the external NLU.

Note: If the external NLU is enabled, some of the recommendations may not be relevant because they are for the Kore.ai NLU engines. The recommendations are displayed based on the training done on the Kore.ai Platform.


For more information, see Virtual Assistant Health and Monitoring.

NLP Insights

NLP Insights have Intent Identified, Intent Not Identified utterances and their NLP analysis details captured. You can view the details of all the failed External NLU API calls in the debug logs of NLP Insights.

For more information, see NLP Insights.

Conversation Behavior

This list describes the conversation behavior while using external NLU adapter:

  • When an intent is identified by the external engine, the corresponding task on the Kore.ai Platform is triggered based on the name mapping.
  • Quality of the intent, entity, or FAQ detection depends on the training and capabilities of the external engine
  • All the other conversation flow behaviors are handled by the Platform. For e.g.:
    • Re-prompts, error prompts, message responses, widgets, supported channels, channel-specific experience customizations, authorization for service calls, alerts, small talk
    • Language Detection
    • Sentiment Analysis
    • Traits identification
    • Decisions to scan for sub-intent, follow-up intents
    • Interruption handling as per settings
    • Entity over Intent or Intent over Entity as per settings
    • PII Masking/Redaction
    • Execution of all the nodes of a Dialogue Task
    • Context Object construction
    • Response messages and fulfillment
    • Logical flows
    Note: Information like the response messages and fulfillment from the external engine is ignored.
  • When external NLU is enabled, in the interruption handling only one behavior, “Switch to a new task without any notification to the user and discard the current task”, is supported. To know more information, see Interruption Management Settings.
  • If the external NLU API returns an error or the API cannot be reached, a fallback intent gets activated with the standard response as, Error in continuing the conversation due to incorrect bot definition. To know more information, see Standard Responses.
  • Note: The Intent and entity mapping work based on a case insensitive comparison of the names defined on the two platforms.
  • For the entity identification to work properly, it is recommended to define the entity nodes in the same sequence on the XO Platform and the external engine.
  • If the external NLU fails to detect the entity, then as a fallback, an attempt is made to detect the same on the Kore.ai NLP engine.

Follow-up and Sub-Intents Identification

  • If all the required parameters are available in the context, the Follow-up intent scope gets activated on the External NLU. Once the follow-up intent scope gets active on the Platform, the utterance is sent to External NLU for intent identification.
  • Similarly, when the scope for sub-intent is active on the Kore.ai Platform, the utterances should be sent to the external NLU for intent detection along with the parent intent context.

Test and Debug

The following sections describe how you can test and debug your Virtual Assistant to validate the working of External NLU.

Talk to Bot

After completing the steps in Adapter Configuration and enabling the API, to check if the intent identification is done by External NLU adapter or not, you can follow these steps:

    1. Go to your VA and click Talk to Bot.
    2. Enter a user utterance which matches the intent entered in the Dialogflow Essentials page.
    3. In the Debug Log panel of the user conversation, you can see a message that, intent identified using External NLU is initiated.


You can also analyze the Debug Log, NL Analysis, and Session Context & Variables to understand the intent detection mechanism.

Debug Log

If the external NLU is enabled, the Debug Log displays whether the intent is detected by External NLU or not before the ‘Intent node initiated’ debug log entry. In case of call failure, an error response is displayed in the debug log entry.

This is displayed only if an external NLU is enabled. If the API call fails, it is also indicated in the debug log statement.

    • Intent detected by the External NLU engine is always marked as a Definitive Match.
      If intent is not detected by the External NLU engine, it is tracked in Debug Log.
    • The debug logs display the request and response payload for the calls made to the LLM by the Dynamic Conversation features only.
    • Under Session Context & Variables, you can see the variables for intents and entities in detail as shown in the following screenshots.

 

 

NLP Analysis

By using NL analysis, you can see whether the intent was identified or not by an external NLU engine. This works from all the workflows that provide the NLP analysis. For example – Talk to Bot, Utterance Testing, Batch Testing, Health and Monitoring, and NLP Insights.

See the following sections to understand more details.

Utterance Testing

Utterance Testing also provides NLP Analysis. The Matched Intents and Fields/Entities tables that provide an easy way to update training data like synonyms, patterns, etc are not displayed if the Intent is identified on the external NLU engine.

    • If the intent is detected by an external engine, the utterance is not sent to the Kore.ai NLP engine.

    • Click the View Response link to view the API response in the JSON format, received from the external NLU engine in both cases of whether intent is detected or not detected by the external NLU.

    • If the intent is not detected by the external engine, the Kore.ai NLU engine acts as a fallback. So, in this case, the NLP analysis shows the analysis of intent detection results from our three engines along with the ranking and resolver. For more information, see Ranking and Resolver.

    • If the intent is detected by the external engine but cannot be mapped to any intent on the XO platform, even then the Kore.ai NLU engine acts as a fallback. In this case, the NLP analysis displays a relevant message along with the API response containing the detected Intents and parameters.

Batch Testing

The test case result for True positive, False Positive, True Negative, and False Negative(TP, FP, TN, FN) scenarios is generated based on the net outcome of a combined result of External NLU and Kore.ai NLU engine.

For example, irrespective of whether the expected intent is detected by the External NLU or Kore.ai engine, the test result is TP. If the net result is a wrong intent identified, the test result should be FP. In case of no intent detected by any of the engines, it is classified as TN, when no intent was expected but some intent was detected, then it is FN.

Note: There is no common base to compare the scores of all the engines, hence scores sent by the external NLU are not considered.

For any intent detected by the external NLU, it should be considered that the thresholds have been met and in the ‘Matched Intent Score’ column, this is indicated as ExtNLU (without any score against it) in place of ML, FM, or KG scores. This can be viewed in the downloaded CSV under NLU of Batch Testing. To know more, see Batch Testing.

If the ExtNLU returns multiple intents, the thresholds met for all those intents are considered and accordingly the test result is concluded.

Health and Monitoring

In Health and Monitoring go to Test Cases —> Detailed Analysis to see the Intents and Entities identified by External NLU, without any scores. The Traits engine is not dependent on the external NLU.

Note: If the external NLU is enabled, some of the recommendations may not be relevant because they are for the Kore.ai NLU engines. The recommendations are displayed based on the training done on the Kore.ai Platform.


For more information, see Virtual Assistant Health and Monitoring.

NLP Insights

NLP Insights have Intent Identified, Intent Not Identified utterances and their NLP analysis details captured. You can view the details of all the failed External NLU API calls in the debug logs of NLP Insights.

For more information, see NLP Insights.

Conversation Behavior

This list describes the conversation behavior while using external NLU adapter:

  • When an intent is identified by the external engine, the corresponding task on the Kore.ai Platform is triggered based on the name mapping.
  • Quality of the intent, entity, or FAQ detection depends on the training and capabilities of the external engine
  • All the other conversation flow behaviors are handled by the Platform. For e.g.:
    • Re-prompts, error prompts, message responses, widgets, supported channels, channel-specific experience customizations, authorization for service calls, alerts, small talk
    • Language Detection
    • Sentiment Analysis
    • Traits identification
    • Decisions to scan for sub-intent, follow-up intents
    • Interruption handling as per settings
    • Entity over Intent or Intent over Entity as per settings
    • PII Masking/Redaction
    • Execution of all the nodes of a Dialogue Task
    • Context Object construction
    • Response messages and fulfillment
    • Logical flows
    Note: Information like the response messages and fulfillment from the external engine is ignored.
  • When external NLU is enabled, in the interruption handling only one behavior, “Switch to a new task without any notification to the user and discard the current task”, is supported. To know more information, see Interruption Management Settings.
  • If the external NLU API returns an error or the API cannot be reached, a fallback intent gets activated with the standard response as, Error in continuing the conversation due to incorrect bot definition. To know more information, see Standard Responses.
  • Note: The Intent and entity mapping work based on a case insensitive comparison of the names defined on the two platforms.
  • For the entity identification to work properly, it is recommended to define the entity nodes in the same sequence on the XO Platform and the external engine.
  • If the external NLU fails to detect the entity, then as a fallback, an attempt is made to detect the same on the Kore.ai NLP engine.

Follow-up and Sub-Intents Identification

  • If all the required parameters are available in the context, the Follow-up intent scope gets activated on the External NLU. Once the follow-up intent scope gets active on the Platform, the utterance is sent to External NLU for intent identification.
  • Similarly, when the scope for sub-intent is active on the Kore.ai Platform, the utterances should be sent to the external NLU for intent detection along with the parent intent context.
메뉴