Skip to content
English
  • There are no suggestions because the search field is empty.

AI Playground

Check and correct queries and analyze generated responses

If the chatbot's AI assigns a user enquiry to the wrong intent or no intent at all, or generates an inappropriate answer or no answer at all, it is helpful for the AI to receive feedback from an expert. At this point, it is important to show the AI what the correct intent would have been or what the appropriate answer would have been.

In the AI Playground menu item, the AI can be tested with queries and then optimized.

  1. How the AI-Playground works
  2. Generate responses (AI agents)
    2.1 Basic response generation
    2.2 Regenerate and compare AI responses
  3. Provide feedback
    3.1 Thumbs up and down
    3.2 Feedback text entry
  4. Assign resources to an agent
  5. Search for sources in the Playground
  6. Expert feature: Context editor in the AI playground

The AI Playground is an extended version of the former “AI Feedback” tool and offers a compact user interface with multiple functions & transparency to optimize the artificial intelligence of the chatbot.


1. How the AI Playground works

The first step is to enter a sample user request.Bildschirmfoto 2025-02-04 um 14.23.31

The AI checks whether a suitable editorial intent or agent exists and suggests it. The title, the scenario and the current status of the detected intent or agent are displayed. If neither a suitable agent nor a suitable editorial intent is recognized, a corresponding message is displayed.

The Edit button can be used to switch directly to the editor of the corresponding intent or agent in order to make adjustments.Bildschirmfoto 2025-02-04 um 14.22.43

The duration of recognition is displayed in seconds at the bottom right. You can reset all entries in the Playground by clicking the Reset button at the top right or by reloading the page.Bildschirmfoto 2025-02-04 um 14.22.43-1

2. Generate responses (AI agents)

The core function of the AI Playground lies in generating and specifically refining the AI agent’s responses.

2.1 Basic Response Generation

Responses are generated in the AI Playground by entering a test query into the chat window. By clicking the ‘Generate response’ button, the AI agent uses the linked knowledge resources and instructions to generate an appropriate response, just as it would be output in the live environment. This process serves as an initial check of the response quality under realistic conditions

  • The time taken by the AI to generate the response is displayed to the left of the response.

  • To the right of the answer, you can expand the list of relevant documents. This list helps you understand which resources the AI considered for this answer and which specific details were used (click the View Content button next to each resource). The list of relevant documents includes the following information:

✔️ Resource was used to generate the answer.
X Resource was considered for response generation but not used.

For each resource, the type (website, PDF, list, etc.) is also displayed, and the eye icon indicates whether the resource is accessible to users or not publicly available, depending on the resource type.

If the message ⚠️ No response could be generated appears. Insufficient knowledge in the Knowledge Base, no response will be generated. This applies to both the AI Playground and the live environment. A prerequisite for a response is the assignment of sources to an agent (details in this article). If the knowledge check is enabled in the Knowledge Base settings, disabling this feature may help to generate responses.

To ensure the best possible recognition by the AI chatbot, you should always check whether the query matches the intent of the stored topic.
By clicking on Further information, you can view previously stored feedback that was taken into account when the AI recognised the query (more information on feedback can be found in this chapter). The list of all topics/agents considered during AI recognition is also available for viewing.

  • This information appears in a list that can be accessed by clicking on Relevant topics or Feedback.

  • The Bot context option plays out the context information (usually the scenario) of the topic that the AI has recognised as matching the query.

2.2 Regenerate and compare AI responses

The regeneration function enables the optimisation of AI responses through instructions and knowledge checks. This allows knowledge checks and instructions to be temporarily overridden in order to generate alternative response variants. A direct comparison of the different versions helps in selecting the optimal response for the AI agent.

  1. Clicking on the cogwheel icon displays information about which knowledge checks and instructions were used for the current generation.

  2. Clicking the ‘Regenerate Answer’ button opens the settings dialogue.

  3. Within this dialogue, you can enter new instructions or enable or disable the knowledge check.

When regenerating, it is advisable to start by making minor adjustments to the instructions. By directly comparing the variants, you can precisely see how specific instructions influence the quality of the response.


4. The generation of a new response variant based on the changed parameters is initiated by clicking Generate response in the dialogue.

The changes made in the dialogue to the knowledge check and the instructions are temporary and initially only affect the test environment in the AI Playground. The live operation of the AI agent remains unaffected until explicitly saved.

5. You can navigate between the different response versions using the arrow icons at the edge of the response box.

6. Clicking the cog icon next to a regenerated response allows you to view the overwritten instructions used there.

7. The ‘Show original’ button allows you to switch directly between the overwritten and the original instructions. If a setting differs from the configuration currently stored in the AI agent, the following message appears: ‘This setting differs from the one currently stored in your agent.’

8. To permanently apply the successful changes to the AI agent’s settings, click the Save button.

Clicking Save will overwrite the existing settings of the AI agent in the Hub. Before applying the changes, you should ensure that the new configuration is suitable for all use cases of the AI agent.

3. Provide feedback

Feedback enables continuous improvement of the AI, resulting in greater automation and more accurate responses. The outcome is an optimised user experience.

After entering a query in the AI Playground, the recognition can be corrected. The feedback is incorporated directly and influences the recognition of further queries.

3.1 Thumbs up and down

In addition to information about the topic, agent or the result that no assignment was possible, an upward-pointing and a downward-pointing thumb appear in the top right-hand corner. These symbols can be used to store the query variant as positive (thumbs up 👍) or negative (thumbs down 👎) feedback.

AI feedback is entered for agents and editorial topics according to the same principle:

  • Confirm correct recognition: If the assignment or recognition is correct, simply click on the thumbs up. This will then turn green. Positive feedback can be helpful as it provides the AI with explicit confirmation that the assigned topic is correct.
  • Correct wrong recognition: If the wrong agent or editorial topic has been recognised, clicking on the downward-pointing thumb opens a drop-down menu. The correct topic can be selected from the drop-down menu. Simply click on the appropriate topic and the feedback is processed when the loading bar disappears.

Bildschirmfoto 2025-02-04 um 14.32.41

The AI can also be given feedback on the recognition of intents and agents in the Insights user requests (hub area statistics, focus reports user requests). This allows queries to be reported directly to the AI as correct or incorrect during an analysis. Detailed instructions can be found in this article.

3.2 Feedback text entry

Feedback can be provided after the response has been generated. The AI takes this feedback into account and implements it in future responses. The feedback option allows for greater control over the responses provided by an AI agent. Feedback can relate to both content (with restrictions) and formatting. The following steps demonstrate how this new form of AI feedback works:

  1. First, submit a query. The corresponding response is generated and appears in the text window.
  2. In the next step, the feedback can be entered in the input field below the response. The feedback is applied using the arrow or the ENTER key.


  3. From now on, feedback will be taken into account when generating responses.

The feedback is not intended to correct factual errors or fill gaps in knowledge. To do this, the source must always be corrected or expanded. In the AI Playground, only additions from existing resources are possible.

4. Assigning resources to an AI agent

Sources can be assigned to an agent using the search function in the AI Playground. To do this, enter a question in the AI Playground and submit it by clicking Send.

Then, generate a response using Generate response.


If the message No knowledge source found appears even though a source for the response is available, it can be assigned manually by following these steps:

  1. Use the arrow to the right of No knowledge source found to expand the area.
  2. Search for sources lists suitable sources in a new message.

Select the desired source from the source search results and assign it to the question using Connect. Confirm this selection with OK.


If the original question is executed again in the AI Playground, the answer is now based on the assigned source.

5. Search for sources in the Playground

The search function in AI Playground can be used to find all sources that deal with a specific topic.

To perform a source search, click on the Source search button below the input field. Then enter the desired topic in the input field and confirm by clicking Send.

All sources that address the topic are listed. A click on See content shows the content of the source that relates to the topic.

6. Optional expert feature: Context Editor in the AI Playground

The context editor is one of the optional expert features. The Customer Success team is available to answer any enquiries and provide support.

The importance of context information is continuously increasing in various use cases. Examples include the website visited, the shopping basket or a stored email address. With the context Editor in the AI Playground, these aspects can be tested and simulated with predefined and newly created variables.

6.1 Predefined variables

The following editor contexts can be defined in the AI Playground:

  • widget_url: Captures the specific URL where the widget is embedded and where the conversation takes place.
  • widget_host: Defines the server or domain from which the widget is loaded. This variable is usually derived from the widget_url.

Variables with a lock symbol are system values and cannot be customised.

Use Case Example based on the variable widget_url

Scenario: A camping website lists and advertises campsites across Europe. The AI chatbot answers questions depending on the respective campsite URL. For simulation in the AI Playground, a campsite URL is stored in the widget_url variable in the context editor. When asked about the price, the chatbot generates a response that refers exclusively to the information contained in the URL.

  1. The context editor can be accessed via the AI Playground menu item. The context editor opens via the button with the curly brackets { }.
  2. After selecting the variable widget_url, enter the desired URL in the Value field.
  3. In the AI Playground, the response is generated based on this URL.

6.2 Newly defined variables

If the predefined variables do not cover the desired editor context, a new variable can be created.

  1. The context editor can be accessed via the AI Playground menu item. The context editor opens via the button with the curly brackets { }.

  2. Clicking on Add variable opens an input mask in which the new variable is defined.


  • Variable name: Unique name of the variable (e.g. user_status).

  • Variable type: Select the data format from the drop-down menu. The options available are String (text), Number (numeric values) or JSON (structured data objects).

  • Value: The specific content to be stored for the simulation in the AI Playground.

Application example: Personalised discounts for regular guests

Scenario: A campsite operator wants to ensure that the AI agent recognises loyal customers and offers them specific benefits. A new variable is created for this in the context editor:

  • Variable name: loyalty_status

  • Variable type: String

  • Value: Regular guest

With this setting, the AI Playground simulates that the enquirer has been identified as a regular guest. When asked about pitch prices, the AI agent uses this information to automatically highlight the 10% ‘repeat customer discount’ or mention a complimentary welcome drink.