시작
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. Natural Language
  4. LLM and Generative AI
  5. Dynamic Conversations Features

Dynamic Conversations Features

The Dynamic Conversations features boost your virtual assistant’s performance with LLM-powered runtime features designed to streamline development and reduce time and effort. By default, all the features are disabled. To enable the feature, select the model and toggle the status to enable it. You can select another supported model for a feature if you have configured multiple models. You can also change the model and its settings.

Steps to enable the feature:

  1. Navigate to Build > Natural Language > Generative AI & LLM > Dynamic Conversations.
  2. Select the preferred model from the model drop-down menu for a feature. (For a pre-built model, the default prompt is used that can’t be changed.) 
  3. Turn on the Status toggle. The success message is displayed.

Change Settings for a Model

Click the option below to see the steps:

Change Settings for a Pre-built Model

Change Settings for a Pre-built Model

You can change the selected model’s settings if required. In most cases, the default settings work fine.

Follow these steps:

  1. Go to Build > Natural Language > Generative AI & LLM > Dynamic Conversations.
  2. Hover over the feature to view the Advance Setting (gear) icon.

  3. Click the Advance Setting. The Advance Settings dialog box is displayed.

    Adjusting the settings allows you to fine-tune the model’s behavior to meet your needs. The default settings work fine for most cases. You can tweak the settings and find the right balance for your use case. A few settings are common in the features, and a few are feature-specific:
    • Model: The selected model for which the settings are displayed.
    • Instructions or Context: Add feature/use case-specific instructions or context to guide the model.
    • Temperature: The setting controls the randomness of the model’s output. A higher temperature, like 0.8 or above, can result in unexpected, creative, and less relevant responses. On the other hand, a lower temperature, like 0.5 or below, makes the output more focused and relevant.
    • Max Tokens: It indicates the total number of tokens used in the API call to the model. It affects the cost and the time taken to receive a response. A token can be as short as one character or as long as one word, depending on the text.
    • Number of Previous User Inputs: Indicates how many previous user messages should be sent to the model as context for rephrasing the response sent through the respective node. For example, 5 means that the previous 5 responses are sent as context.
    • Additional Instructions: Add specific instructions on how prompts should be rephrased. You can create a persona, ask it to rephrase in a particular tone, etc.
    • Similarity Threshold: The Similarity Threshold is applicable for the Answer from Docs feature. This threshold refers to the similarity between the user utterance and the document chunks. The platform shortlists all chunks that are above the threshold and sends these chunks to the LLMs to auto-generate the responses. Define a suitable threshold that works best for your use case. Setting a higher threshold limits the number of chunks and may not generate any result. Setting a lower threshold might qualify too many chunks and might dilute the response.

 

Change Settings for a Custom Model

Change Settings for a Custom Model

For a custom model, you can only change the post-processor script to adjust the actual response with the expected response.

In the case of GenAI Node only, you can change the Exit Scenario Key-Value, Virtual Assistance Response Key, and a post-processor script.

Follow these steps:

  1. Go to Build > Natural Language > Generative AI & LLM > Dynamic Conversations.
  2. Hover over the feature to view the Setting (gear) icon.
  3. Click Edit. The Actual Response is displayed.

  4. Click Configure. The Post Processor Script is displayed.

  5. Modify the script and click Save & Test. The Response is displayed.

  6. Click Save.
  7. (Only for GenAI Node) Enter the Exit Scenario Key-Value and Virtual Assistance Response Key fields. Click Save.
    The Exit Scenario Key-Value fields help identify when to end the interaction with the GenAI model and return to the dialog flow. A Virtual Assistance Response Key is available in the response payload to display the VA’s response to the user.

Model and Feature Support Matrix

The following table displays the Dynamic Conversation features and the supported models. 

(✅ Supported | ❌ Not Supported)

Model GenAI Node Answer From Documents GenAI Prompt Rephrase Dialog Responses Zero-shot ML Model Repeat Responses Rephrase User Query
Azure OpenAI – GPT 3.5 Turbo
Azure OpenAI – GPT 4 ✅*
OpenAI – GPT 3.5 Turbo
OpenAI – GPT 4 ✅*
Anthropic – Claude Instant
Anthropic – Claude
Custom LLM
Kore.ai XO GPT

 

*  Currently, the Zero-shot ML Model does not support batch testing when using GPT 4.

Note: Azure OpenAI and OpenAI have officially ended support for their GPT-3 model on January 4, 2024. We recommend selecting a higher or alternate model for supported features as soon as possible. Learn more.

Feature Details

GenAI Node

When enabled, this feature lets you add an GenAI Node to Dialog Tasks. This node allows you to collect Entities from end-users in a free-flowing conversation (in the selected English/Non-English Bot Language) using LLM and Generative AI in the background. You can define the entities to be collected as well as rules & scenarios in English and Non-English Bot languages. You can configure node properties just like any other node. You can also use the GenAI Node across Dialog Tasks.

Usage

When creating or editing a Dialog Task that’s created manually or auto-generated, you can find a node called GenAI Node within your nodes list.
When this feature is disabled, the node is unavailable within the Dialog Builder. Learn more.

Answer From Documents

This feature leverages a Large Language Model (LLM) and Generative AI models from OpenAI to generate answers for FAQs by processing uploaded documents in an unstructured PDF format and user queries.

Usage

After redacting personally identifiable information, the uploaded documents and the end-user queries are shared with OpenAI to curate the answers.

Once you meet the prerequisites and enable the feature:

  1. You should upload the PDF document(s) to be shared with the third-party system (OpenAI). You can upload a maximum of 10 documents with a size of not more than 5 MB.
  2. The uploaded documents are listed under the Answer from Documents section with the following details:
  • Upload Name
  • Uploaded by
  • Uploaded on
  • Status (Active/Inactive)
  • Actions (View and Delete File)
  1. A good practice is to test the answer generation by asking the VA a question directly related to the contents of your uploaded documents. Learn more.
  2. You can view, delete, and disable the uploaded documents.
  3. The VA provides answers only from uploaded documents that are active, whereas disabled documents are ignored.

If the feature is disabled, you won’t be able to send queries to LLMs as a fallback. Learn more.

GenAI Prompt

This feature lets you define custom user prompts based on the conversation context and the response from the LLMs. You can define the subsequent conversation flow by selecting a specific AI model, tweaking its settings, and previewing the response for the prompt.

 

Usage

  1.  When building the Dialog Flow, click the “+” button, and select the GenAI Prompt node.
  2. Configuring the Component Properties in the following sections helps set up the node:
  • General Settings: Provide Name and Display Name for the node and write your own OpenAI Prompt.
  • Advanced Settings: Fine-tune the model’s behavior and tweak its settings as required for the following:
    • Model
    • System Context
    • Temperature
    • Max Tokens
  1. Advanced Controls: Select the maximum wait time (Timeout) to receive a response from the LLM and the bot’s response (Timeout Error Handling) when a timeout error occurs.
  2. When you add custom tags to the current message, user profile, and session under Instance Properties, you can build custom profiles for the bot conversation. .
  3. Configuring node connections on an instance lets you define the connection rules for the conversation using transition conditions. This lets the conversation follow specific paths based on the user’s input.

If this feature is disabled, you cannot configure the ML model to build custom prompts using OpenAI for different use cases. Learn more.

Rephrase Dialog Responses

This feature sends all User Prompts, Error Prompts, and Bot Responses to the Generative AI along with the conversation context, which depends on the configured number of user inputs. Responses are rephrased in English or the selected Non-English Bot Language based on the context and user emotion, providing a more empathetic, natural, and contextual conversation experience to the end-user. You can give instructions (additional instructions) in English or any other bot language you select.

Usage

When configuring a Message, Entity, or Confirmation node, you can enable the Rephrase Response feature (disabled by default). This lets you set the number of user inputs sent to OpenAI/Anthropic Claude-1 based on the selected model as context for rephrasing the response sent through the node. You can choose between 0 and 5, where 0 means that no previous input is considered, while 5 means that the previous. 5 responses are sent as context.

When this feature is disabled, the Rephrase Response section is not visible within your node’s Component Properties.

Zero-shot ML Model

This feature uses a Azure OpenAI or OpenAI LLM models to help the ML Engine identify the relevant intents from user utterances based on semantic similarity. By identifying the logical intent during run time, this feature eliminates the need for training data. The Zero-shot ML model requires well-defined intents to work well. This training approach is well-suited for virtual assistants with relatively fewer intents and distinct use cases.

Note: The Zero-shot model is production-ready in English but experimental in other languages. We advise caution before using it in production for non-English languages.

Usage 

Before performing utterance testing, the user selects the Zero-shot Model with OpenAI Network Type. During utterance testing, the user provides a more descriptive input with a subject, object, and nouns. Once the test runs, the system identifies the most logical intent as the definitive match by comparing the following:

  • User utterance input
  • Intent names

The identified intent is then displayed as the matched intent.

If this feature is disabled, the system won’t identify and display the logical and matched intent during utterance testing. Learn more.

Repeat Responses

This feature uses LLM to reiterate the recent bot responses when the Repeat Response event is triggered. Bot developers can enable the event and customize the trigger conditions. This empowers end-users to ask the bot to repeat its recent responses at any point during the conversation. Currently, this event is supported for IVR, Audiocodes, and Twilio Voice channels. Learn more.

Rephrase User Query

This feature uses the Kore.ai XO GPT Model. This model helps improve intent detection and entity extraction by enriching the user query with relevant details from the ongoing user conversation.

When a user intent and entity are split across multiple utterances or through the conversation, the feature enriches the user query by rephrasing the user’s multiple queries during runtime. This enriched user query contains all the conversation details so the bot can understand the actual meaning behind a user’s utterance. This enriched user query is fed to the natural language, improving accuracy by improving intent identification and entity extraction.

Usage

The LLM rephrases the query using one of the following methods depending on the scenario:

Completeness: The user query should be complete based on the conversation context so that the NLP can identify the right intent. If the user query is incomplete, the system urges the user to rephrase with more information.

For example:
User: What is the weather forecast for New York tomorrow?
Bot: It will be Sunny, with temperature ranging between 30 – 35 degrees Celsius.
User: How about Orlando?
Bot: Sorry, I cannot understand. Can you please rephrase?

The query should be completed as “How about the weather forecast in Orlando tomorrow?”.

Co-referencing: Coreference arises when multiple expressions or queries within text pertain to a common entity. In cases where a user’s query demonstrates incomplete coreference, the system prompts the user to rephrase the query with additional information. This enhances NLP’s ability to discern the correct intent and entities involved.

For example:
User: I’ve been experiencing a persistent headache for the past week.
Bot: I’m sorry to hear that. Have you been taking any medication for it?
User: Yes, I’ve been taking ibuprofen, but it doesn’t seem to help much.
Bot: I see. How often do you take ibuprofen?
User: I take it every six hours
Bot: I don’t understand. Can you tell me how often you take ibuprofen?

The co-reference in the user query should be expanded for NLP to identify the right intent and entities. The co-reference should be expanded as “I take ibuprofen every six hours”.

Completeness and Co-referencing: The following example illustrates completeness and co-referencing issues with the user’s input which triggers rephrasing.

For example:
User: I want to apply for a personal loan.
Bot: Sure, I can help you. You’re eligible to take a personal loan of up to 20,000$.
User: How about a Home loan?
Bot: You’re eligible to apply for a home loan as well. You can avail up to 100,000$.
User: What about the interest rates of both loans?

The co-reference and the query have to be completed as “What is the interest rate of personal loan and home loan?

Few-shot ML Model

The Few-shot model uses Kore Ai’s hosted embeddings to train virtual assistants based on intent names and training utterances. The model identifies the intents based on semantic similarity between user and training utterances.

Note: The Few-shot model is production-ready in English but experimental in other languages. We advise caution before using it in production for non-English languages.

Usage 

Before performing utterance testing, the user selects the Few-Shot Model (Kore.ai Hosted Embeddings) network type. 

During utterance testing, the user provides a more descriptive intent name with a subject, object, and nouns, as well as the training utterances. Once the test runs, the system identifies the most logical intent as the definitive match based on the following:

  • The default configuration settings
  • User utterance input
  • Intent names

If this feature is disabled, the system won’t identify and display the logically matched intent during utterance testing. Learn more.

 

Dynamic Conversations Features

The Dynamic Conversations features boost your virtual assistant’s performance with LLM-powered runtime features designed to streamline development and reduce time and effort. By default, all the features are disabled. To enable the feature, select the model and toggle the status to enable it. You can select another supported model for a feature if you have configured multiple models. You can also change the model and its settings.

Steps to enable the feature:

  1. Navigate to Build > Natural Language > Generative AI & LLM > Dynamic Conversations.
  2. Select the preferred model from the model drop-down menu for a feature. (For a pre-built model, the default prompt is used that can’t be changed.) 
  3. Turn on the Status toggle. The success message is displayed.

Change Settings for a Model

Click the option below to see the steps:

Change Settings for a Pre-built Model

Change Settings for a Pre-built Model

You can change the selected model’s settings if required. In most cases, the default settings work fine.

Follow these steps:

  1. Go to Build > Natural Language > Generative AI & LLM > Dynamic Conversations.
  2. Hover over the feature to view the Advance Setting (gear) icon.

  3. Click the Advance Setting. The Advance Settings dialog box is displayed.

    Adjusting the settings allows you to fine-tune the model’s behavior to meet your needs. The default settings work fine for most cases. You can tweak the settings and find the right balance for your use case. A few settings are common in the features, and a few are feature-specific:
    • Model: The selected model for which the settings are displayed.
    • Instructions or Context: Add feature/use case-specific instructions or context to guide the model.
    • Temperature: The setting controls the randomness of the model’s output. A higher temperature, like 0.8 or above, can result in unexpected, creative, and less relevant responses. On the other hand, a lower temperature, like 0.5 or below, makes the output more focused and relevant.
    • Max Tokens: It indicates the total number of tokens used in the API call to the model. It affects the cost and the time taken to receive a response. A token can be as short as one character or as long as one word, depending on the text.
    • Number of Previous User Inputs: Indicates how many previous user messages should be sent to the model as context for rephrasing the response sent through the respective node. For example, 5 means that the previous 5 responses are sent as context.
    • Additional Instructions: Add specific instructions on how prompts should be rephrased. You can create a persona, ask it to rephrase in a particular tone, etc.
    • Similarity Threshold: The Similarity Threshold is applicable for the Answer from Docs feature. This threshold refers to the similarity between the user utterance and the document chunks. The platform shortlists all chunks that are above the threshold and sends these chunks to the LLMs to auto-generate the responses. Define a suitable threshold that works best for your use case. Setting a higher threshold limits the number of chunks and may not generate any result. Setting a lower threshold might qualify too many chunks and might dilute the response.

 

Change Settings for a Custom Model

Change Settings for a Custom Model

For a custom model, you can only change the post-processor script to adjust the actual response with the expected response.

In the case of GenAI Node only, you can change the Exit Scenario Key-Value, Virtual Assistance Response Key, and a post-processor script.

Follow these steps:

  1. Go to Build > Natural Language > Generative AI & LLM > Dynamic Conversations.
  2. Hover over the feature to view the Setting (gear) icon.
  3. Click Edit. The Actual Response is displayed.

  4. Click Configure. The Post Processor Script is displayed.

  5. Modify the script and click Save & Test. The Response is displayed.

  6. Click Save.
  7. (Only for GenAI Node) Enter the Exit Scenario Key-Value and Virtual Assistance Response Key fields. Click Save.
    The Exit Scenario Key-Value fields help identify when to end the interaction with the GenAI model and return to the dialog flow. A Virtual Assistance Response Key is available in the response payload to display the VA’s response to the user.

Model and Feature Support Matrix

The following table displays the Dynamic Conversation features and the supported models. 

(✅ Supported | ❌ Not Supported)

Model GenAI Node Answer From Documents GenAI Prompt Rephrase Dialog Responses Zero-shot ML Model Repeat Responses Rephrase User Query
Azure OpenAI – GPT 3.5 Turbo
Azure OpenAI – GPT 4 ✅*
OpenAI – GPT 3.5 Turbo
OpenAI – GPT 4 ✅*
Anthropic – Claude Instant
Anthropic – Claude
Custom LLM
Kore.ai XO GPT

 

*  Currently, the Zero-shot ML Model does not support batch testing when using GPT 4.

Note: Azure OpenAI and OpenAI have officially ended support for their GPT-3 model on January 4, 2024. We recommend selecting a higher or alternate model for supported features as soon as possible. Learn more.

Feature Details

GenAI Node

When enabled, this feature lets you add an GenAI Node to Dialog Tasks. This node allows you to collect Entities from end-users in a free-flowing conversation (in the selected English/Non-English Bot Language) using LLM and Generative AI in the background. You can define the entities to be collected as well as rules & scenarios in English and Non-English Bot languages. You can configure node properties just like any other node. You can also use the GenAI Node across Dialog Tasks.

Usage

When creating or editing a Dialog Task that’s created manually or auto-generated, you can find a node called GenAI Node within your nodes list.
When this feature is disabled, the node is unavailable within the Dialog Builder. Learn more.

Answer From Documents

This feature leverages a Large Language Model (LLM) and Generative AI models from OpenAI to generate answers for FAQs by processing uploaded documents in an unstructured PDF format and user queries.

Usage

After redacting personally identifiable information, the uploaded documents and the end-user queries are shared with OpenAI to curate the answers.

Once you meet the prerequisites and enable the feature:

  1. You should upload the PDF document(s) to be shared with the third-party system (OpenAI). You can upload a maximum of 10 documents with a size of not more than 5 MB.
  2. The uploaded documents are listed under the Answer from Documents section with the following details:
  • Upload Name
  • Uploaded by
  • Uploaded on
  • Status (Active/Inactive)
  • Actions (View and Delete File)
  1. A good practice is to test the answer generation by asking the VA a question directly related to the contents of your uploaded documents. Learn more.
  2. You can view, delete, and disable the uploaded documents.
  3. The VA provides answers only from uploaded documents that are active, whereas disabled documents are ignored.

If the feature is disabled, you won’t be able to send queries to LLMs as a fallback. Learn more.

GenAI Prompt

This feature lets you define custom user prompts based on the conversation context and the response from the LLMs. You can define the subsequent conversation flow by selecting a specific AI model, tweaking its settings, and previewing the response for the prompt.

 

Usage

  1.  When building the Dialog Flow, click the “+” button, and select the GenAI Prompt node.
  2. Configuring the Component Properties in the following sections helps set up the node:
  • General Settings: Provide Name and Display Name for the node and write your own OpenAI Prompt.
  • Advanced Settings: Fine-tune the model’s behavior and tweak its settings as required for the following:
    • Model
    • System Context
    • Temperature
    • Max Tokens
  1. Advanced Controls: Select the maximum wait time (Timeout) to receive a response from the LLM and the bot’s response (Timeout Error Handling) when a timeout error occurs.
  2. When you add custom tags to the current message, user profile, and session under Instance Properties, you can build custom profiles for the bot conversation. .
  3. Configuring node connections on an instance lets you define the connection rules for the conversation using transition conditions. This lets the conversation follow specific paths based on the user’s input.

If this feature is disabled, you cannot configure the ML model to build custom prompts using OpenAI for different use cases. Learn more.

Rephrase Dialog Responses

This feature sends all User Prompts, Error Prompts, and Bot Responses to the Generative AI along with the conversation context, which depends on the configured number of user inputs. Responses are rephrased in English or the selected Non-English Bot Language based on the context and user emotion, providing a more empathetic, natural, and contextual conversation experience to the end-user. You can give instructions (additional instructions) in English or any other bot language you select.

Usage

When configuring a Message, Entity, or Confirmation node, you can enable the Rephrase Response feature (disabled by default). This lets you set the number of user inputs sent to OpenAI/Anthropic Claude-1 based on the selected model as context for rephrasing the response sent through the node. You can choose between 0 and 5, where 0 means that no previous input is considered, while 5 means that the previous. 5 responses are sent as context.

When this feature is disabled, the Rephrase Response section is not visible within your node’s Component Properties.

Zero-shot ML Model

This feature uses a Azure OpenAI or OpenAI LLM models to help the ML Engine identify the relevant intents from user utterances based on semantic similarity. By identifying the logical intent during run time, this feature eliminates the need for training data. The Zero-shot ML model requires well-defined intents to work well. This training approach is well-suited for virtual assistants with relatively fewer intents and distinct use cases.

Note: The Zero-shot model is production-ready in English but experimental in other languages. We advise caution before using it in production for non-English languages.

Usage 

Before performing utterance testing, the user selects the Zero-shot Model with OpenAI Network Type. During utterance testing, the user provides a more descriptive input with a subject, object, and nouns. Once the test runs, the system identifies the most logical intent as the definitive match by comparing the following:

  • User utterance input
  • Intent names

The identified intent is then displayed as the matched intent.

If this feature is disabled, the system won’t identify and display the logical and matched intent during utterance testing. Learn more.

Repeat Responses

This feature uses LLM to reiterate the recent bot responses when the Repeat Response event is triggered. Bot developers can enable the event and customize the trigger conditions. This empowers end-users to ask the bot to repeat its recent responses at any point during the conversation. Currently, this event is supported for IVR, Audiocodes, and Twilio Voice channels. Learn more.

Rephrase User Query

This feature uses the Kore.ai XO GPT Model. This model helps improve intent detection and entity extraction by enriching the user query with relevant details from the ongoing user conversation.

When a user intent and entity are split across multiple utterances or through the conversation, the feature enriches the user query by rephrasing the user’s multiple queries during runtime. This enriched user query contains all the conversation details so the bot can understand the actual meaning behind a user’s utterance. This enriched user query is fed to the natural language, improving accuracy by improving intent identification and entity extraction.

Usage

The LLM rephrases the query using one of the following methods depending on the scenario:

Completeness: The user query should be complete based on the conversation context so that the NLP can identify the right intent. If the user query is incomplete, the system urges the user to rephrase with more information.

For example:
User: What is the weather forecast for New York tomorrow?
Bot: It will be Sunny, with temperature ranging between 30 – 35 degrees Celsius.
User: How about Orlando?
Bot: Sorry, I cannot understand. Can you please rephrase?

The query should be completed as “How about the weather forecast in Orlando tomorrow?”.

Co-referencing: Coreference arises when multiple expressions or queries within text pertain to a common entity. In cases where a user’s query demonstrates incomplete coreference, the system prompts the user to rephrase the query with additional information. This enhances NLP’s ability to discern the correct intent and entities involved.

For example:
User: I’ve been experiencing a persistent headache for the past week.
Bot: I’m sorry to hear that. Have you been taking any medication for it?
User: Yes, I’ve been taking ibuprofen, but it doesn’t seem to help much.
Bot: I see. How often do you take ibuprofen?
User: I take it every six hours
Bot: I don’t understand. Can you tell me how often you take ibuprofen?

The co-reference in the user query should be expanded for NLP to identify the right intent and entities. The co-reference should be expanded as “I take ibuprofen every six hours”.

Completeness and Co-referencing: The following example illustrates completeness and co-referencing issues with the user’s input which triggers rephrasing.

For example:
User: I want to apply for a personal loan.
Bot: Sure, I can help you. You’re eligible to take a personal loan of up to 20,000$.
User: How about a Home loan?
Bot: You’re eligible to apply for a home loan as well. You can avail up to 100,000$.
User: What about the interest rates of both loans?

The co-reference and the query have to be completed as “What is the interest rate of personal loan and home loan?

Few-shot ML Model

The Few-shot model uses Kore Ai’s hosted embeddings to train virtual assistants based on intent names and training utterances. The model identifies the intents based on semantic similarity between user and training utterances.

Note: The Few-shot model is production-ready in English but experimental in other languages. We advise caution before using it in production for non-English languages.

Usage 

Before performing utterance testing, the user selects the Few-Shot Model (Kore.ai Hosted Embeddings) network type. 

During utterance testing, the user provides a more descriptive intent name with a subject, object, and nouns, as well as the training utterances. Once the test runs, the system identifies the most logical intent as the definitive match based on the following:

  • The default configuration settings
  • User utterance input
  • Intent names

If this feature is disabled, the system won’t identify and display the logically matched intent during utterance testing. Learn more.

 

메뉴