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 about the doctor’s availability, booking an appointment, finding Hospital’s location, and many more using the chatbot.

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 RemovedImage 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 Settings-_Find a A Provider, Providers, and Facilities.

  3. In each schema page, click on the upload icon to index the documents. An example screenshot is given below.

    Image RemovedImage Added

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 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 in the next confirmation dialog box.

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.

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

  4. Click Save at the end of the screen.

  5. Configure the service account. (Ignore if you have configured service account for the environment already).

  6. Deploy the flows in Experience Designer.

  7. Publish the changes to Google Dialog Flow from the Deployment screen in Experience Manager.

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

Note

If your chatbot doesn't start, deploy the flow in Experience Designer and publish the skill in Experience Manager - Deployment page.

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.

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 Removed
Image Added
Warning

If you have more than one appsettings node (in chatbot flow) in your environment, you cannot view the banner and the global menu.

Global menu

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

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.

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.

Carousel filter

To narrow down the search result, the bot will do the below filtering.prompt you to filter the result further.

To choose the number of items that loads into the carousel and card,

  1. Navigate to the content page from the sidebar in the find a doctor project.

    Image Added
  2. Select Settings_Find A Provider schema and Edit the content data.

    Image Added
  3. You can change the numbers A and B to fit your business use case.

Image Added
Info

Number A corresponds to the carousel.
Number B corresponds to the Card.

Note

It is recommended that Number A is less than Number B.

Radius

You can change the search radius by adjusting the radius property on the same page.

Image Added

For example,

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

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

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

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 Removed
Image Removed
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

  • Go to Experience designer.

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

    Image Removed

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

    Image Removed

    Related Articles

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