Skip to main content

Q&A Agent

A Q&A agent is a conversational app that can answer questions from users. It can be used to provide customer support, answer frequently asked questions, or provide information about a product or service.

Below is an example of a Q&A agent created in ditto:

How to create a Q&A agent

App Editor

The homepage of each new ditto app comes with a default hero block. This block is a great place to introduce yourself or your brand to your audience. It will be prefilled with details from the basic info step, however you can edit it further to your liking.

As all blocks in ditto are fully composable, you can just delete the hero block if you'd like to start from scratch.

Add Q&A Agent block

Add some text to your page to explain to the user what the Q&A agent can do. You can explain how to interact with the Q&A agent and what kind of questions it can answer.

On your homepage document, select the '+' button to open the block menu. From here you can add the 'Q&A Agent' block.

Add agent knowledge

Click the next button in the top right corner of the page to proceed to the Q&A agent editor. Here you can upload text based knowledge to your ditto app. This knowledge will be used by the Q&A agent to answer user questions.

Publish

Once you're happy with the app content, click the 'Finish' button on the top right of the page. You'll be taken back to your app's preview page where you can see what your published app looks like.

Select the publish button in the top right to share your app with your audience.