Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Find a Doctor” is Orbita’s latest offering which lets your customers enquire the bot about doctor’s availability, booking an appointment, finding Hospital’s location, and many more.

This article describes the steps to set up the Find a Doctor feature in your environment.

Table of Contents
excludeRelated

Prerequisites

  • Project_modules.json

  • Experience_Designer_flows.json

Please contact support@orbita.ai to get the above files.

Import modules

  1. Create a new project.

  2. Copy the code in Project_modules.json and import it to the project.

Note

Check the Select All option and select the Delete all existing project data before importing option before importing.

...

Info

Importing content data is optional. You can choose to create your own content or use the sample content data.

Image Added

Refer How to import Project for more information.

Index the content data

  1. Go to the Schema listing page.

  2. Index the schemas named Global data, Providers, and Facilities.

  3. In each schema page, click on the upload icon to index the documents.

...

  1. An example screenshot is given below.

    Image Modified

Refer Indexing content data for more information.

You have to create your own content and upload images in the content data for the chatbot to render the images of the providers or facilities.

Import flows

  1. Go to Experience Designer.

  2. Copy the code

...

  1. from Experience_Desinger_flows.json and import the flows.

Note

After clicking on Import, select Restore from the Select Skill Dialog box (as shown below) and click on the OK button.

Image Modified

Refer How to import Flows in Experience Designer for more information.

Configure Chatbot

  1. Go to the Launch flow.

  2. Copy the endpoint from the Launch node.

    Image Modified
  3. Paste it in the URL field of the fulfillment page in your Dialogflow agent.

    Image Modified
  4. Configure the service account. (Ignore if you have configured service account for the environment already).

  5. Deploy the flow in Experience Designer.

    Image Modified

The default chatbot URL is https://domainname.orbita.cloud:8443/oeapi/findaphysician

Customizations

You can customize the below-listed items in the chatbot.

Banner

You can change the title and the description of the banner. Clicking on the arrow next to the title will expand the banner and display the description. Clicking on the arrow again closes the description to show only the title.

Image Added
Image Added

You can change the title and the description, to do that:

  1. Open Experience Designer and go to Chatbot Flow Tab

  2. In the function node named App Settings, scroll down to find the type - dialog. You can customize the contents of the properties named title and content.

Image Added

Global menu

The global menu can be accessed anytime during the conversation in the chatbot. You can customize the button text, but the buttons function remains the same.

Image Added

To change the button text:

  1. Open Experience Designer and go to Chatbot Flow Tab

  2. In the function node named App Settings, scroll down to find the type - mainmenu. You can customize the contents of the property named text in the object - buttons.

Image Added

Launch Message

To change the Launch Message, you have to:

  1. Navigate to the flow studio from the side menu.

  2. Search for the flow named Launch Flow.

  3. Change the text in the control named Launch Message.

Image Added

Carousel filter

To narrow down the search result, the bot will do the below filtering.

  • If the number of search result hits is above a count, say 10, then narrow down the search result using filtering questions.

    Image Added
  • If the number of search result hits is above count A, say 5, but below number B, say 10, then show the result in a list.

    Image Added
  • If the number of search result hits is below count A, say 5, show the result in a carousel.

    Image Added

You can change the numbers A and B to fit your business use case. To choose the number of items that loads into the carousel,

  1. Navigate to the flow studio from the side menu.

  2. Search for the flow named Provider Carousel Flow.

  3. Change the numbers in the Evaluate nodes named Evaluate providers count - First time filter and Evaluate providers count - subsequent filters.

Image Added
Image Added
Info

Make sure that the Evaluate node named Evaluate providers count - subsequent filters contain the number of search result hits needed for the carousel.

Radius

You can change the search radius by adjusting the radius property

  1. Go to Experience designer.

  2. From the node palette, double click on the sub-flow named Search providers & facilities to open it.

    Image Added

  3. Open the node named Set query - radius and set the radius in the query.

    Image Added

Related Articles

Filter by label (Content by label)
showLabelsfalse
max5
showSpacefalse
cqllabel = "experience-manager"