1. Home
  2. Kore.ai Conversational Platform
  3. Bot Builder Tool
  4. Configuring Bot Types
  5. Installing Sample Bots
  6. Flight Search Sample Bot

Flight Search Sample Bot

The Flight Search Sample bot is defined with a single dialog task that uses webhooks to get flight information. After installation, and configuration for the webhooks or using our Kore.ai BotKit SDK, you can test the bot using the Talk to Bot feature to test the following configured task:

  • Dialog Tasks
    • Find a flight

Installing the Fight Search Sample Bot

The Flight Search Sample bot is only available in Bot Builder and must be added as a new bot.

To install the Flight Search Sample bot

  1. Log on to Bot Builder, and then click New Bot. The Select an Option page is displayed.
  2. Click Install Sample Bot. The Select Sample Bot page is displayed.
  3. Point to Flight Search Sample, and then click the Install button displayed.
  4. On the Flight Search Sample page, review the Instructions tab to install and configure the BotKit SDK, and then on the Configuration tab, optionally rename your bot, and then click Done.
  5. The Flight Search Sample installed successfully message is displayed and the sample bot is added to your Bots left-hand navigation menu.

With the Flight Search Sample bot installed, you can configure your own webhook connections, or using the Kore.ai BotKit SDK, you can install and run the bot on your localhost server. For more information, see the Kore.ai BotKit SDK Tutorial.

How Does the Sample Bot Work?

Try out your bot using Talk to Bot and test any tasks, then review the configuration tabs of the bot in Bot Builder:

Bot Tasks – Add or modify tasks. This bot is configured with a single dialog task using webhooks to access flight information data.

  • Dialog Tasks – Consists of multiple sub-intents and component nodes to conduct a complex conversational flow between a user and the bot.
  • Alert Tasks – Monitors a web service for events and then sends a notification message to the user when the event occurs. You can use this task type for scheduled polling or near real-time notification using webhooks.
  • Information Tasks – Provides a report of data by asking the user for input parameters and then executing a web service call. The formatted data is presented to the user as a link to a report that a user can click to display the data, for example, Show my tickets, or 3-day Weather Forecast.
  • Action Tasks – Queries a user on demand for input parameters, and then executes a web service call along with a confirmation message, for example, Create New Ticket, or Get Weather for this Location.
  • Knowledge Graph – Turns static FAQ pages into intelligent, personalized conversational experience. Build an ontology of crucial terms, add questions to the right nodes in the hierarchy and leave the task of responding to users to the bot, thus enabling your Support staff to engage with more complex tasks.
  • Creating Flows – Associates one task to another task of the same or different Bot. For example, a flow for a Twitter tweet notification could be to Create New Follower.

Natural Language – Review and optimize natural language processing and machine language understanding of your bot using:

  • Training – In the Training section, you can test how the NLP interpreter recognizes and responds to user input for a Bot, and then if needed, train the interpreter to recognize the correct user intent. For more information, see Training Your Bot.
  • Machine Learning – With Machine Learning, you can enhance Bot recognition of user utterances for better recognition and system performance for the user intent, which is the intended task that the user wants to access. For more information, see Machine Learning.
  • Synonyms – You can use the Synonyms section to optimize the NLP interpreter accuracy in recognizing the correct task and task field provided by the user for the names of your tasks and task fields. For more information, see Managing Synonyms.
  • Patterns – In the Patterns section, you can define slang, metaphors, or other idiomatic expressions for task names and task fields. For more information, see Managing Patterns.
  • Standard Responses – Standard responses are pre-defined text responses to users based on an event, condition, trigger, or user input. In the Standard Responses section, you can modify existing bot responses, or add additional responses for the same event.For more information, see Managing Standard Responses.
  • Ignore Words & Field Memory – In this section, you can configure bot intelligence by persisting data for each task to pre-populate data fields in another related task for the same bot in the Field Memory settings for each task. You can also define words to ignore in user utterances to increase performance and intent recognition. For more information, see Managing Ignore Words & Field Memory.
  • Task Identification Settings – In this section, you can define the recognition confidence levels required for minimum recognition actions, the confidence range for asking a user to choose from a list of possible matches, and a recognition confidence level for a positive match for knowledge tasks. For more information, see Task Identification Settings.

Channels – Enable this bot for one or more communication channels. This bot is enabled for the Kore channel by default. You can configure this bot to run in the following channels:

  • Email – Generates an email address that end-users can send messages to interact with your bot. For more information, see Adding the Email Channel.
  • Twilio – Displays the Twilio Channel page used to define settings for the Twilio messaging gateway to allow end-users to interact with your bot using SMS text messages. For more information, see Adding the Twilio Channel.
  • Kore.ai – The bot users can access your bot using the Kore.ai Messaging application. By default, the Kore.ai channel is always enabled. For more information, see Adding the Kore.ai Channel.
  • Facebook Messenger – Displays the Facebook Messenger Channel page used to define settings to allow end-users to interact with your bot using the Facebook Messenger application. This is a six-step configuration process. For more information, see Adding the Facebook Messenger Channel.
  • Slack – Displays the Slack Channel page used to define settings to allow end-users to interact with your bot using Slack. This is a four-step process. For more information, see Adding the Slack Channel.
  • Web / Mobile Client – Displays the Web / Mobile Client Channel page that you can use to register your company application and generate authentication tokens to allow end-users to interact with your bot using your company application. Only one company application can be registered to your bot, and only one set of authentication tokens are generated per bot for applications using the Kore.ai SDKs. For more information, see Adding the Web/Mobile Client Channel.
  • Cisco Spark – Opens the Cisco Spark Channel page used to define the Cisco app registration, generate security tokens, and then integration with Spark for Kore.ai bots. For more information, see Adding the Cisco Spark Channel.
  • Twitter – Displays the Twitter Channel page used to register with Twitter for the App Management Console to define an app to integrate your bot with the end-user Twitter account. For more information, see Adding the Twitter Channel.
  • Skype – Displays the Skype Channel page where you register your bot on the Microsoft Bot Framework for Skype using a webhook. For more information, see Adding the Skype Channel.
  • Skype for Business – Displays the Skype for Business Channel page where you register your bot on the Microsoft Bot Framework for Skype using a webhook. For more information, see Adding the Skype for Business Channel.
  • Microsoft Teams – Displays the Microsoft Teams Channel page used to register your bot on the Microsoft Bot Framework developer portal, and then enable your bot in the Microsoft Teams messaging channel. For more information, see Adding the Microsoft Teams Channel.
  • Cisco Tropo – On the Cisco Tropo Channel page, you can follow the steps to create a Cisco Tropo app, get an API key, and then enable the channel for messaging in the Cisco Tropo messaging application. For more information, see Adding the Cisco Tropo Channel.
  • Workplace By Facebook – Click to display the Workplace by Facebook page to configure the settings to create a custom integration and enable a webhook in the Facebook Developer portal. For more information, see Adding the Workplace by Facebook Channel.
  • LINE- Displays the LINE channel page that you can use to register your bot and generate authentication token for channel configuration using a webhook. For more information, see Adding the LINE Channel
  • Telegram- Clicking on Telegram, navigates you to the Telegram Channel page to setup configuration details to enable Telegram channel to your Kore.ai bot.For more information, see Adding the Telegram Channel
  • Yammer- Displays the Yammer Channel page that you can use to setup configurations and authorize association of Yammer app with your Kore.ai bot.For more information, see  Adding the Yammer Channel.
  • LivePerson- Displays the LivePerson Channel that can be used to register your bot and to define configuration settings to enable association of your Kore.ai bot with LivePerson. For more information, see Adding the LivePerson Channel
  • Jabber- Opens the Jabber Channel page that you can use to register your bot on the Jabber Application by setting up a webhook integration. For more information, see Adding the Jabber Channel.
  • Twilio Voice- Displays the Twilio Channel page where you can define channel configurations and add the Twilio number to be associated with your Kore.ai bot. For more information, see Adding the Twilio Voice Channel
  • Amazon Alexa- Click to open the Amazon Alexa channel page that you can use to setup configuration for your Kore.ai bot using a webhook. For more information, see Adding the Amazon Alexa Channel

Settings – Edit or define bot settings, such as name, icon, and other advanced settings:

  • General Settings: Define or modify the Bot Name, Description, Icon, Color, and Purpose of Use. For more information, see General Bot Settings.
  • Language Management: Manage bot languages and language detection capabilities. For more information, see Enabling an additional bot language.
  • Authorization Profiles: Define one or more authorization profiles for your Bot to access your third-party web service as basic auth, oAuth v1, oAuth v2, or an API Key. For more information, see Bot Authorization.
  • Invite Developer: In an enterprise, you can share your Bot for co-development to other developers. For more information, see Sharing Bots for Development.
  • Bot Variables: Add variables that can be used when defining tasks and configurations. These are very useful when importing bot definitions between bots. For more information, see Using Bot Variables.
  • Export Bot: Export bot tasks and configurations as a JSON file that can be imported into another bot. For more information, see Exporting and Importing Bots.
  • Import Bot: Overwrite bot tasks and configurations by importing a valid JSON file. For more information, see Exporting and Importing Bots.
  • IVR Settings: Enable and define IVR channel settings for the bot. For more information, see IVR Integration.
  • Advanced Settings: Define optional advanced settings for your Bot to include enable for Hold & ResumeBot Setup Confirmation Message, Bot Tenancy, Show Link for Task Setup/Execution, and customizing Bot Error Messages. For more information, see Advanced Bot Settings.
  • Custom Library: Modify additional advanced settings like subdomains, bot contact card, and Kore.ai identity requirements.
  • Change Logs: View a list of system events related to your Bot by a user, event, and timestamp. For more information, see Viewing the Bot Change Log.
  • Delete Bot: Click to delete the Bot. Only unpublished and suspended bots can be deleted. If the bot has any published tasks, it cannot be deleted. For more information, see Deleting a Bot.

Publishing – You can publish alert, action, or dialog tasks for Standard bots for an enterprise or to the Kore.ai Bot Store. For more information, see Publishing Tasks.

Analyze – You can review the full conversation between the Bots Platform and a user using Chat History. For more detail, you can review and analyze both successful, and unsuccessful interactions between a bot and a user in the Chat Logs section. If necessary, based on the interaction, you can initiate bot training to better handle future communication transactions. For more information, see Analyzing Your Bot.

Next Steps

The Flight Search Sample bot is a basic sample bot defined with a single dialog task to demonstrate how to use the Kore.ai BotKit SDK. To install and test this sample bot on your own local server instance, seethe Kore.ai BotKit SDK Tutorial.

You may also want to install and checkout our other sample bots. For more information, see Installing Sample Bots.

Was this article helpful to you? Yes No