Skip to main content
AI Chatbots

Unanswered questions

To analyze in more detail the responses provided by the large language model in virtual assistants that use automatic text generation, and to review in one place all questions that the model was unable to answer during user conversations, the Collected data view allows you to browse unanswered questions.

To enable this functionality, you must use the automatic text generation parameter noanswer and the savedata function.


How to integrate the function into a scenario

  1. In the scenario, locate the automatic text generation function.
    It is usually included in the self-loop transition Virtual assistant replies section or in the state.

  2. Click Add and select Function.

  3. Select the savedata function.

  4. Fill in the function parameters:

    • key – specify the keyword under which unanswered questions will be saved

      (for example: unanswered_questions).

    • value – specify #@@input.

      The user’s full question will be loaded and saved.

  5. Click the three dots next to the function and add the following prerequisite: noanswer = true

This ensures that the user’s question is displayed in the collected data view only if no response was generated by the large language model.

  1. Save the changes and publish the scenario.

Unanswered questions in a function

  1. Perform a test: open the try-out and ask a question for which no answer exists in the knowledge base.

  2. Open the Collected data view and verify that information about all unanswered questions is displayed correctly.

Unanswered questions

Read more