vania-janet/multiturn-rag-retrieval-data huggingface dataset:
Understand your most and least successful actions 

The Action completion page of Watson Assistant provides an overview of how all your assistant's actions are doing. The page allows you to:



* Understand how well users are progressing through the action steps you have created
* Identify problem areas within actions
* Investigate why users are having issues where they might escalate to a live agent, start a new action, get stuck on a step, or stop the conversation





 Definition of completion 

Completion measures how often within a given time period users reach the end step of an action.



 Reasons for completion 

An action is considered complete when:



* A final (end) step is reached
* Search reached a final step
* The action called another action with the End this action after the other action is completed option, and the other action has completed
* Connect to agent transfer occurs according to the step response and without involving the [Fallback action](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-handle-errorsfallback-action)
* The last step of the action has been executed and there are no more steps to execute







 Reasons for incompletion 

An action is considered incomplete for these reasons:



 Reason Description 

 Escalated to agent The user explicitly asks to speak to someone, triggering the [Fallback action](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-handle-errorsfallback-action). For more information, see [When your customer asks to speak to a live agent](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-handle-errorswhen-your-customer-asks-to-speak-to-a-human-agent). Or, the user chooses human agent escalation from the list of [suggestions in web chat](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-deploy-web-chatdeploy-web-chat-alternate). 
 Started a new action The user changes the topic of the conversation, triggering another action, and either doesn't return to the original action or the other action is also incomplete.
Machine learning models 

Enterprise customers can enable auto-updates to their machine learning models for the newest bot detection models as they are released.

To enable auto-updates:



1.  Log in to the CIS and select your account and domain.
2.  Go to Security > Bots.
3.  Select Configure Bot Management.
4.  Enable auto-updates to the machine learning model.



Enabling auto-updates for the machine learning model upgrades you to the latest version immediately. You can toggle the button off within 24 hours to revert to the previous version. To make changes after 24 hours, contact support.



  What has changed? 

If you are on an older machine learning model, you'll see a score change to requests scored by the machine learning source instantly. If you are already on the latest model, the changes show only after a new machine learning model becomes the global default.

You will be notified prior to a new machine learning model becoming the global default.





  Why you should upgrade 

By not updating to the latest version, you will be using a machine learning model that is no longer maintained or monitored by the engineering team. As internet traffic changes and new trends evolve, the scoring accuracy of older versions can degrade.
* Shopping cart stuffing







 How does CIS manage bots? 

CIS collects data from requests flowing through its network every day. With this data, powered by Cloudflare's machine learning and behavior analysis, CIS can identify likely bot activity and can provide you with information on how to allow or disallow specific bot traffic using Firewall Rules.

Cloudflare Bot Management uses the following detection mechanisms, each producing their own scores, which are then combined to form a single score:



* Machine learning: A highly accurate bot identification machine learning model trained on trillions of requests with minimal impact to request processing speed
* Heuristics engine: Detects bots by screening requests through a set of simple rules that capture bots based on certain attibutes of the requests made.
* Behavioral analysis: Detects bots that have never been seen, calculating and analyzing normal visitor behavior over an extended period of time.
* Verified bots: A way to avoid accidental blocks of useful bots using several validators and a bots directory of unique good bot identities.
* JS fingerprinting: A challenge-response system with challenge injected into the webpage on Cloudflare’s edge and rendered in the background for validation.
Improvements to algorithm version beta
: Improvements to the current Beta algorithm version include:



* Relevant examples are expected to get higher confidence
* For Spanish-language assistants, intent detection is improved in the presence of direct entity references
* Intent detection is more stable regarding occurrence of numerics, such as postal codes
* Intent detection now accounts for fuzzy closed entity mentions
* For German-language assistants, intent detection is more robust in the presence of umlauts



For more information, see [Algorithm version and training](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-algorithm-version).





 3 March 2023 

Adding and using multiple environments
: Each assistant has a draft and live environment. For Enterprise plans, you can now add up to three environments as a staging area to test your assistant before deployment. You can build content in the draft environment and test versions of your content in the extra environments. For more information, see [Adding and using multiple environments](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-multiple-environments).

Confirmation to return to previous action
: If a customer digresses and changes to a new topic, assistants now ask a "yes or no" confirmation question that the customers want to return to the previous action. Previously, the assistant returned to the previous action without asking. New assistants are set to use this confirmation by default. For more information, see [Confirmation to return to previous topic](https://test.cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-change-topicchange-topic-confirmation).





 1 March 2023 

Unrecognized requests group names
: This change improves the group names for unrecognized requests. For groups with examples phrased in the form of question, the group name can be more indicative of a question rather than a request. For more information, see [Use unrecognized requests to get action recommendations](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-analytics-recognition).





 23 February 2023 

Private variables excluded from logs
It refers to a result from using the extension in step 2.
7. Under Assistants says, you can compose the answer with the event details by referring to the output fields of the API call to the deployed app. Use I got these event details: followed by the Enter key to get to the next line. [The editor supports Markdown format](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-respondrespond-formatting). Thus, use the - key to create a bulleted list. Add a list item with Name:, then click on the Insert a variable icon. From the dropdown select 2 body.shortname. Use the Enter key again to get to a new line with a list item. Add Location: with 2 body.location from the variables dropdown. Repeat for Begins, Ends, and Contact. Once done, set And then to End the action.
8. To handle errors in the extension, create another step with a condition. Now let the step react to 2 Ran successfully being false. Let the Assistant say Sorry, there was a problem and then end the action again.

For the sake of simplicity, not all errors and conditions like empty results are handled.
9. Click on the Save icon on the upper right, then the X next to it to close the step editor.
10. On the bottom right select Preview to test the dialog.
11. In the chat, type show me event details and submit. The bot should respond What is the event name?. Now type Think and submit. Because the backend app uses a wildcard search, it should find the sample event with the name Think 2022 and return the details (see screen capture below).



Zoom

![chat preview showing event details](https://cloud.ibm.com/docs-content/v1/content/f84e2238288b7f0355715a4c355609ce7ac48fb0/solution-tutorials/images/solution19/Slackbot_debug_preview.png)

preview showing event details
Autolearning
: Autolearning is a beta feature that is available for evaluation and testing purposes in English-language assistants only. Use autolearning to enable your assistant to learn from interactions with your customers and improve responses. For more information, see [Using autolearning to improve assistant responses](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-autolearn).





 21 March 2023 

Response modes
: Response modes is a beta feature that is available for evaluation and testing purposes. Choose a default response mode, which modifies the assistant's behavior when asking clarifying questions. For more information, see [Response modes](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-action-response-modes).





 20 March 2023 

Auto-save setting removed from Global Settings
: The Auto-save setting was removed from Global Settings. It was a user preference that allowed you to disable automatic saving of actions and applied to all assistants in your instance. Changing the setting applied only to you and didn't affect other users. Actions continue to be automatically saved as you work. For more information, see [Saving your actions](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-save-actions).





 16 March 2023 

New algorithm version Latest (20 Dec 2022) provides improved irrelevance detection
: A new algorithm version is available. The Latest (20 Dec 2022) version includes a new irrelevance detection implementation to improve off-topic detection accuracy.

Improvements include:



* Relevant user inputs are expected to get higher confidence, so they are less likely to be considered irrelevant or require clarification
* Irrelevance detection is improved in the presence of direct entity references
* Irrelevance detection is more stable across small changes to input
* Intent detection is more stable regarding occurrence of numerics, such as postal codes
* For German-language assistants, intent detection is more robust in the presence of umlauts



This algorithm was first introduced as the Beta version in June 2022.
* [Schematics Agent overview](https://cloud.ibm.com/docs/schematics?topic=schematics-agentb1-about-introabout-agentb1-architecture)
* [Private network configuration when using agents](https://cloud.ibm.com/docs/schematics?topic=schematics-agentb1-about-introabout-agentb1-networking)
* [Benefits of using Agents](https://cloud.ibm.com/docs/schematics?topic=schematics-agentb1-about-introagentb1-usage)
* [Next steps](https://cloud.ibm.com/docs/schematics?topic=schematics-agentb1-about-intronextsteps-agentb1-arch)



[Schematics Blueprints](https://cloud.ibm.com/docs/schematics?topic=schematics-blueprint-introblueprint-intro)



* [Overview](https://cloud.ibm.com/docs/schematics?topic=schematics-blueprint-introblueprint-overview)
* [Features](https://cloud.ibm.com/docs/schematics?topic=schematics-blueprint-introblueprint-features)
* [Next steps](https://cloud.ibm.com/docs/schematics?topic=schematics-blueprint-intronextsteps-bp-arch)



[Understanding Schematics use cases](https://cloud.ibm.com/docs/schematics?topic=schematics-how-it-workshow-it-works)



* [Infrastructure deployment with Schematics Workspaces](https://cloud.ibm.com/docs/schematics?topic=schematics-how-it-workshow-to-workspaces)
* [Configuration management with Schematics Actions](https://cloud.ibm.com/docs/schematics?topic=schematics-how-it-workshow-to-actions)
: The version form parameter for model objects in the [API definition](https://cloud.ibm.com/apidocs/natural-language-understandingcreateadvancedrulesmodel) has been deprecated; use the model_version parameter instead. The model_version parameter will override version whenever there is a conflict until April 9, 2021.





 3 September 2020 

Summarization
: [Summarization (Experimental)](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-aboutsummarization) returns a summary of input source content. Summarization is currently available for English only.

Categories support for Dutch and Chinese
: Support for Chinese and Dutch categories is now available, for all public and premium service instances. For details, see [Language support](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-language-support).







 August 2020 



 6 August 2020 

Syntax support
: Syntax support is no longer "experimental", and is supported in all public and premium environments, for the following languages: English, Arabic, German, Spanish, French, Italian, Japanese, Korean, Dutch, Portuguese, and Chinese (Simplified). For details, see [Language support](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-language-support).





 1 August 2020 

Taxonomy changes
: The following changes to the default taxonomy are activated when you use the version date 2020-08-01 or later:



 Previous entry Updated entry 

 /food and drink/health and lowfat cooking /food and drink/health and low-fat cooking 
 /society/crime/sexual offence /society/crime/sexual offense 
 /society/crime/sexual offence/paedophilia /society/crime/sexual offense/pedophilia 
 /society/crime/sexual offence/prostitution /society/crime/sexual offense/prostitution 
 /society/crime/sexual offence/rape /society/crime/sexual offense/rape 
 /style and fashion/men 's fashion /style and fashion/men's fashion
Welcome to the new Watson Assistant 

Welcome to the documentation for the new Watson Assistant!

The new Watson Assistant experience, focused on using actions to build customer conversations, is designed to make it simple enough for anyone to build a virtual assistant. Building, testing, publishing, and analyzing your assistant can all now be done in one simple and intuitive interface.



* New navigation provides a workflow for building, previewing, publishing, and analyzing your assistant.
* Each assistant has a home page with a task list to help you get started.
* Build conversations with actions, which represent the tasks you want your assistant to help your customers with. Each action contains a series of steps that represent individual exchanges with a customer.
* A new way to publish lets you review and debug your work in a draft environment before going live to your customers.
* Use a new suite of analytics to improve your assistant. Review which actions are being completed to see what your customers want help with, determine if your assistant understands and addresses customer needs, and decide how can you make your assistant better.
* Explore our [interactive demo site](https://www.ibm.com/products/watson-assistant/demos/lendyr/demo.html) to learn how Watson Assistant can be used to build powerful, scalable experiences for your users.



For more information about the new experience, see [FAQs about the new IBM Watson Assistant experience](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-watson-assistant-faqsfaqs-new-experience).

Visit [Getting started with Watson Assistant](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-getting-started) for a tutorial series on building in the new experience.



 Switching the experience 

You can easily switch back and forth between the new experience and the classic experience. However, the new experience provides a simplified user interface, an improved deployment process, and access to the latest features. For more information, see [Migrating to the new experience](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-migrate-overview).
* [Architecture](https://cloud.ibm.com/docs/schematics?topic=schematics-sc-workspacessch-wks-overview)
* [Features](https://cloud.ibm.com/docs/schematics?topic=schematics-sc-workspacessc-wks-features)
* [Next steps](https://cloud.ibm.com/docs/schematics?topic=schematics-sc-workspacessc-wks-nextsteps)



[Schematics Actions](https://cloud.ibm.com/docs/schematics?topic=schematics-sc-actionssc-actions)



* [Architecture](https://cloud.ibm.com/docs/schematics?topic=schematics-sc-actionssc-actions-overview)
* [Using Actions](https://cloud.ibm.com/docs/schematics?topic=schematics-sc-actionssc-actions-use)
* [Next steps](https://cloud.ibm.com/docs/schematics?topic=schematics-sc-actionssch-actions-nextsteps)



[Schematics Agents](https://cloud.ibm.com/docs/schematics?topic=schematics-agentb1-about-introagentb1-about-intro)



* [Schematics Agent overview](https://cloud.ibm.com/docs/schematics?topic=schematics-agentb1-about-introabout-agentb1-architecture)
* [Private network configuration when using agents](https://cloud.ibm.com/docs/schematics?topic=schematics-agentb1-about-introabout-agentb1-networking)
* [Benefits of using Agents](https://cloud.ibm.com/docs/schematics?topic=schematics-agentb1-about-introagentb1-usage)
Get Bot Management settings. GET /v1/{crn}/zones/{domain_id}/bot_management} internet-svcs.reliability.read internet-svcs.bot-management.read 
 Update Bot Management settings. PUT /v1/{crn}/zones/{domain_id}/bot_management} internet-svcs.reliability.update internet-svcs.bot-management.update 
 Get Bot Analytics Score Source. GET /v1/{crn}/zones/{domain_id}/bot_analytics/score_source} internet-svcs.security.read internet-svcs.bot-analytics.read 
 Get Bot Analytics Timeseries. GET /v1/{crn}/zones/{domain_id}/bot_analytics/timeseries} internet-svcs.security.read internet-svcs.bot-analytics.read 
 Get Bot Analytics Top Attributes. GET /v1/{crn}/zones/{domain_id}/bot_analytics/top_ns} internet-svcs.security.read internet-svcs.bot-analytics.read
* [Protecting sensitive information in your Watson service](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-keyservice)
* [Public and private network endpoints](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-public-private-endpoints)
* [Virtual Private Endpoints](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-virtual-private-endpoints)



* Service background



* [The science behind the service](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-science)
* [Research references](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-references)





* Reference



* [API & SDK reference](https://cloud.ibm.com/apidocs/text-to-speech)
* [High availability and disaster recovery](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-ha-dr)
* [Activity Tracker events](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-at-events)
* [Watson SDKs](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-using-sdks)
* [Watson GitHub repos](https://github.com/watson-developer-cloud/)



* Help



* [Known limitations](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-known-limitations)
* [Usage FAQs](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-faq-usage)
* Developer community
24 April 2023 

Response modes randomization behavior
: The response modes beta now uses the same randomization behavior during clarification that your actions have without response modes enabled. Previous to this change, when response modes were enabled, the clarification feature no longer periodically modified the options for clarification. Randomizing the clarification helps prevent bias that can be introduced by a percentage of people who always pick the first option without carefully reviewing all of their choices beforehand. For more information, see [Response modes](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-action-response-modes) or [Asking clarifying questions](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-understand-questionsunderstand-questions-ask-clarifying-question).





 21 April 2023 

Collections
: You can use a collection to organize your actions. You can put actions into folder-style groups based on whatever categorization you need at your organization, such as by use case, internal team, or status. For more information, see [Organizing actions in collections](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-collections).





 18 April 2023 

Activity log
: The Activity log is a beta feature that is available for evaluation and testing. Use the activity log to track changes. It gives you visibility into the modifications that are made to your assistant. It is available for Plus plans and higher. For more information, see [Activity log](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-activity-log).





 16 April 2023 

Allow changing topics in free text and regex responses
: By default, customers can't change topics when the assistant is asking for a free text response or when an utterance matches the pattern in a regex response. Now free text and regex customer response types have a setting to allow a user to digress and change topics.
// Example 2: Adds user input.

const prompt = require('prompt-sync')();
const AssistantV2 = require('ibm-watson/assistant/v2');
const { IamAuthenticator } = require('ibm-watson/auth');

// Create Assistant service object.
const assistant = new AssistantV2({
version: '2021-11-27',
authenticator: new IamAuthenticator({
apikey: '{apikey}', // replace with API key
}),
url: '{url}', // replace with URL
});

const assistantId = '{environment_id}'; // replace with environment ID

// Start conversation with empty message
messageInput = {
messageType: 'text',
text: '',
};
sendMessage(messageInput);

// Send message to assistant.
function sendMessage(messageInput) {
assistant
.messageStateless({
assistantId,
input: messageInput,
})
.then(res => {
processResult(res.result);
})
.catch(err => {
console.log(err); // something went wrong
});
}

// Process the result.
function processResult(result) {

// Print responses from actions, if any. Supports only text responses.
if (result.output.generic) {
if (result.output.generic.length > 0) {
result.output.generic.forEach( response => {
if (response.response_type === 'text') {
console.log(response.text);
}
});
}
}

// Prompt for the next round of input unless skip_user_input is true.
let newMessageFromUser = '';
Tutorials 

[Calling an action from another action](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-tutorial_actiontutorial_action)



* [Create the cos-access action](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-tutorial_actiontutorial_action_cos-action)
* [Create the db-access action](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-tutorial_actiontutorial_action_db-access)
* [Create the ow-sdk-action action](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-tutorial_actiontutorial_action_ow-sdk-action)



[Build a database driven Slackbot](https://cloud.ibm.com/docs/solution-tutorials?topic=solution-tutorials-slack-chatbot-database-watsonslack-chatbot-database-watson)

[Combining serverless and Cloud Foundry for data retrieval and analytics](https://cloud.ibm.com/docs/solution-tutorials?topic=solution-tutorials-serverless-github-traffic-analyticsserverless-github-traffic-analytics)

[Mobile application with serverless backend](https://cloud.ibm.com/docs/solution-tutorials?topic=solution-tutorials-serverless-mobile-backendserverless-mobile-backend)

[Serverless web application and API](https://cloud.ibm.com/docs/solution-tutorials?topic=solution-tutorials-serverless-api-webappserverless-api-webapp)





 Release notes for Cloud Functions 

[Release notes for Cloud Functions](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-openwhisk-relnotesopenwhisk-relnotes)