LogoLogo
  • Introduction to the Ebbot Platform
  • Ebbot Platform
  • Bot basics
    • Scenarios
    • Entities
    • Triggers
    • Training center
  • Scenarios
    • Cards and syntax
      • File Input
      • Text card
      • Input
      • Buttons
      • Image
      • File
      • Carousel
      • Location
      • List
      • Contact Agent
      • Rating request
      • Custom component
      • CoBrowsing
    • Transition
    • Card properties
  • AI Insights
    • Setup and Configuration
    • Using the Insights Dashboard
  • EbbotGPT
    • Knowledge
      • Data source transformer
      • Source types
        • File
        • Website scrape
        • Docx file
        • TOPdesk API
        • Sitevision API
        • SharePoint API
          • Create app with Sites.FullControl.All permission in Azure
          • Ebbot SharePoint Postman Guide
        • Confluence API
    • Configurations
    • Persona
    • GPT Evaluation
    • Embedder models
    • EGPT models
  • Custom vocabulary
  • Tutorials
    • Create your first scenario
      • Select a trigger
      • Add bot responses
  • Data Object
  • Release notes
  • For developers
    • Ebbot SDK
    • Safe Exchange API / Vault
    • Subdomain manager
  • EbbotGPT API
  • Chatbot & Live chat
    • Install chat widget
    • Chats API
    • Chat widget API
    • Datasource API
    • Sales tracking for live chat
    • Webhook
      • Incoming webhooks
      • Outgoing webhooks
    • SMS API
      • Authentication
      • Send SMS
      • Errors
      • Encoding
    • Python components
    • Intent detection (NLP)
  • Product guides
    • Product data feeds
    • Install guide
    • Product guide events
      • Product guide user events
      • Received events
      • Send events
    • API & webhooks
    • GA4 integration
    • Klaviyo integration
  • Messenger marketing
    • Install popup
    • API & webhooks
  • For chat agents
    • Ebbot Chat
      • Settings modal
      • Queue
      • Topbar Stats
      • Menu
        • Power-Ups!
        • Quick Replies
  • INTEGRATIONS
    • Ebbot Live Chat in Zendesk
      • Setup guide
    • Active Directory - SAML
    • Configure SAML in Azure
Powered by GitBook
On this page
  • Creating a scenario
  • Contexts
  • Follow-up scenarios

Was this helpful?

  1. Bot basics

Scenarios

The scenario is where the magic happens since a bot is built entirely on scenarios. Each chatbot is made up of "scenarios". You build a chatbot by combining different scenarios which in turn allows Ebbot to understand and have a human dialogue with the user. When a user says something, Ebbot matches the user expression to the best scenario in your bot and return the proper reply/action

Creating a scenario

For example, you can create a weather chatbot that understands and replies to the user's weather questions.

For instance you could create a weather bot that recognizes and responds to user questions about the weather.

A scenario contains the following:

  • Trigger - What type of trigger should launch the scenario? The most common variant is "NLP" where Ebbot uses data models to identify what the user wants by using Natural Language Processing to match this to the correct scenario.

    You can also use traditional keywords or use no trigger. A no trigger scenario can only be triggered by buttons or actions from other scenarios.

  • Training phrases - When using the NLP trigger you need to provide example phrases for what users might say. You do not need to write every conceivable variation of how users express themselves. Provide Ebbot with around 20 examples and the data model will learn from that.

  • Bot responses - This is what Ebbot should output as a response to the user. You may use several different responses such as simple text, images, cards, buttons or trigger your custom components that can be integrated with your own backend in order to create powerful experiences for the users.

Contexts

Ebbot context is similar to the one in natural language. If a person asks “how much does it cost”? You need to know which product or object the person is talking about. In the same way Ebbot needs to be configured by context to understand the sentences. We have developed an automatic context creation so that you don't need to think about it at all. By using context, Ebbot is allowed to detect follow-up questions.

By using contexts Ebbot are allowed to detect follow-up questions. Ebbot’s memory capacity lets you return to a previous topic even after one or several other topics has been discussed. Ebbot will still remember the context of the first topic, and can smoothly transition back and forth.

Follow-up scenarios

By clicking on the plus sign on a root scenario you are able to create a follow-up scenario to cover questions related to the main scenario. You need to train the child scenario with specific phrases. Let's say we want to create a follow-up scenario to the weather scenario, giving the user the opportunity to ask about other dates but keeping the city and scenario in memory.

The weather scenario have training phrases similar to “What is the weather in Stockholm tomorrow?” and we now want to be able to respond to follow-up questions like “what about the weekend or on monday next week”

  1. We start by adding a child scenario to the weather scenario by clicking on the plus sign and add a scenario with the name "asking_about_date".

  2. Then we train the scenario with the following phrases:

  3. What about tomorrow then?

  4. And on saturday?

  5. What about the weekend

  6. And next week?

What's happening now is that we are able to cover the following conversation. And this is possible thanks to the context setup.

PreviousBot basicsNextEntities

Last updated 1 year ago

Was this helpful?