# Dialogue Boxes

## 1. Robot conversations

* After configuring basic information, Knowledge Base, plugins, and dialogue flow, you can ask questions in the dialog box of the robot homepage.

### 1.1 Function of dialog box

* Input and output methods: In addition to text input and text output, it also supports voice input and voice reading output.
* Plugin call status display: After the plugin is called, the method and successful call status of the plugin will be displayed.
* Reply content feedback: You can give feedback by liking or disliking the reply result below.
* Other functions: support "copy", "view source", "voice playback". In addition, the time taken to reply and token consumption will be displayed.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FoCZfDVG9gURp4PHpASHz%2Fimage.png?alt=media&#x26;token=4ad89249-5f0f-4aa4-8e75-245cb43dca97" alt=""><figcaption></figcaption></figure>

* Support "knowledge reference": Click the knowledge reference box below the reply to view the specific knowledge reference content.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FBhYi0oBkXIBZejsXHgBl%2Fimage.png?alt=media&#x26;token=74118669-0723-4c5c-8b95-f36403093090" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FfXAjF9Gj9WNIrrxI9nVL%2Fimage.png?alt=media&#x26;token=2c760b2e-efc4-4c1b-b7d5-1f765f2cfc4a" alt=""><figcaption></figcaption></figure>

* Support “PDF file citation preview, highlighting”：When user ask questions concerning knowledge points in the PDF file,the robot will clearly show the source of the citation, click on PDF file, all citation can be previewed, quoted sections will be highlighted. Besides, the PDF file can also display the page number (e.g. “1 | n page”), to ensure the traceability of knowledge.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FIRksm5owCXJQlS9v1rAt%2Fimage.png?alt=media&#x26;token=5050b25f-a9b8-4ea8-a0e9-7375fdf5a55b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FONSBWMjM7l8tdWmqrBk6%2Fimage.png?alt=media&#x26;token=01fa5aa3-0c41-46af-8454-3c2eef07d0d0" alt=""><figcaption></figcaption></figure>

* Support “Interrupt Generation”: Click the stop button below the reply to terminate the bot reply.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FMQJZWaZtTDai85kn6z0V%2Fimage.png?alt=media&#x26;token=98b9ae83-68b3-42ce-9570-d5a4c7035469" alt=""><figcaption></figcaption></figure>

### 1.2 Chat Management

* Click the "New Session" button at the top of the dialog box to start a new session.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FhugvDB5vpEM1rO1oILcF%2Fimage.png?alt=media&#x26;token=b1c6120a-d4ba-4cf9-9e1f-d4f458e06aed" alt=""><figcaption></figcaption></figure>

* You can view the conversation history in the upper left corner of the dialog box and continue the conversation based on the historical conversation.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FwGloDUJWHNeA0A9XnMoK%2Fimage.png?alt=media&#x26;token=bcd5343e-57a3-4624-81a9-dd0a51c2760b" alt=""><figcaption></figcaption></figure>

## 2. Dialogue history

### 2.1 Display by item

* In this mode, the conversation history can be displayed in a single bar.
* In the lower right corner, you can perform operations such as "administrator evaluation", "conversation correction", "view correction history", and "remove top" for a single conversation history.
* If the user clicks on it, it will be pinned to the top for the robot manager to follow up or correct the badcase.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FmNpjujFce4u5QAw2h64P%2Fimage.png?alt=media&#x26;token=24d0f989-4d3b-47fd-8769-a21832304949" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FEYYtopqrs7H1EUc6Gt7j%2Fimage.png?alt=media&#x26;token=bd3ed77f-e663-4b2d-869f-0c853a29f2ff" alt=""><figcaption></figcaption></figure>

* In the lower left corner, click "View Context" to view the context of the conversation, and then assist in judgment by replying with the context.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FtEU7srOwNZZ0qGBAsDmg%2Fimage.png?alt=media&#x26;token=367562d9-2fd4-4276-b32f-66dd77f6d4bb" alt=""><figcaption></figcaption></figure>

### 2.2 Display by chat

* In this mode, the conversation history can be displayed according to a complete conversation.
* On the right side, you can view user feedback and user reviews made by users in this session dimension.
* The robot manager can also evaluate and provide feedback to the entire conversation in this mode.
* Click Chat History to view the conversation content of the conversation on the right. The administrator can perform feedback and evaluation by conversation here, which is suitable for the inspection of the conversation effect.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FIGlqSiDOkcf3GhiYqWgB%2Fimage.png?alt=media&#x26;token=aed1cb8c-c628-4442-ae1d-b6edf16ccf2d" alt=""><figcaption></figcaption></figure>

## 3. Data trends

### 3.1 Visit Trends

* Homepage - "Visit Trends" is a data lake visualization display of the robot's Q & A status, which facilitates managers to follow up on daily data statistics and trend insights in real time.
* Currently, you can switch to view 5 time intervals: today, yesterday, last 7 days, last 30 days, and a total of 5.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FhTKsZHNIyocd3vE4i4Oa%2Fimage.png?alt=media&#x26;token=9cb2eae2-b94b-44af-b962-14aee78adbab" alt=""><figcaption></figcaption></figure>

* Support viewing of 5 indicator dimensions, see table below for details.
*

| Indicator name                                  | Meaning of indicators                                                                                                                                                                                                        | Indicator calculation                                                                           |
| ----------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| Number of questions & number of replies         | Number of questions: The number of times the user asked questions.Reply count: The number of normal replies by the robot, excluding system abnormalities.                                                                    | Normal reply rate: reply times/question times \* 100%                                           |
| Number of replies & number of effective replies | Reply count: The number of normal replies by the robot, excluding system abnormalities.Effective reply count: The number of replies that users do not click on (including the number of times they do not comment and like). | Effective reply rate: number of effective replies/number of replies \* 100%.                    |
| Number of visitors & number of questions        | Number of visitors: The robot's unique viewerNumber of people asking questions: The number of users who asked questions to the bot.                                                                                          | <p>Number of questions per person: Number of questions asked/Number of visitors \* 100%<br></p> |
| Number of Replies & Number of Error Replies     | Reply count: The number of normal replies by the robot, excluding system abnormalities.Number of incorrect replies: The number of conversations rated as incorrect by the administrator.                                     | <p>Error reply rate: number of error replies/number of replies \* 100%<br></p>                  |
| Number of Replies & Number of Correct Replies   | Reply count: The number of normal replies by the robot, excluding system abnormalities.Number of correct replies: The number of conversations rated as correct by the administrator.                                         | <p>Correct reply rate: Number of correct replies/Number of replies \* 100%<br></p>              |

### **3.2 Response time**

Display the time consumption details and fluctuation trend of dialogue requests within a certain time range.

<figure><img src="https://1886561579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbXiJN0Eq6xgdmU34Ktv%2Fuploads%2FBtaOu30IXxydMimHClX2%2Fimage.png?alt=media&#x26;token=e1bcb382-9b2c-4006-b5e5-07ff23aeeb3f" alt=""><figcaption></figcaption></figure>

\\

\\
