Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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.

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.

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

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

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 Provider, Providers, and Facilities.

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

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.

After clicking on Import, select Restore from the Select Skill Dialog box (as shown below) and click on the OK button in the next 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

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.

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.

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.

  • If the number of search result hits is above a count, 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 a list.

  • 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.

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.

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

Related Articles

  • No labels