# Feedback System

## Overview&#x20;

To build a good [Prompt Loop](/prompt-engineering/prompt-loop.md) process Prst.ai offers to use feedback system. each feedback is a unique set of ranking and user comment. These information can be used then by Prompt Engineers to improve prompt quality.&#x20;

<figure><img src="/files/TcEVhfFEc6lSEIe5hjUt" alt=""><figcaption></figcaption></figure>

To simplify comments analysis Prst.ai also offers sentimental analysis of the content and extra formula to recalculate ranking.&#x20;

## Feedback Component&#x20;

To make collect access easier we created a component that can be used inside `iFrame` on your websites or inside your internal tools.&#x20;

You can configure the component using your corporate style and wishes.&#x20;

<figure><img src="/files/M7rr45gFzMimwsoHfo87" alt=""><figcaption></figcaption></figure>

In addition to that it's also possible a way of how to collect feedbacks. Prst.ai allows you to select the measurement system for the feedback ranking. The following options are available: &#x20;

* **Like/Dislike**: only 2 dimensions where Like is good and Dislike is bad.
* **Ranking 5 stars: m**ore advanced with ability to select a exec value between 0 and 5.
* **Comments:** in addition to starts you can collect user feedback to understand result better.&#x20;

## Custom Component&#x20;

It's also possible to create a custom component  and [use API](/for-developers/api.md) instead of [pre-build one](#feedback-component) . In this case please make sure that the component will be able to collect information such as:&#x20;

<table><thead><tr><th width="189">Field</th><th width="386">Description</th><th>Note</th></tr></thead><tbody><tr><td>task_id</td><td>UUID of the task</td><td>not mandatory</td></tr><tr><td>user_id</td><td>ID of the user</td><td>not mandatory</td></tr><tr><td>prompt_id</td><td>ID of the Prompt</td><td>not mandatory</td></tr><tr><td>prompt_version</td><td>Exact version</td><td>not mandatory</td></tr><tr><td>prompt_version_id</td><td>Prompt Version ID</td><td>not mandatory</td></tr><tr><td>source</td><td>Extra field, useful for identifying source</td><td>not mandatory</td></tr></tbody></table>

> ❗️ **Note:**  All parameters are not mandatory, **however at least of of the following combinations must be provided** to do not lose your data:&#x20;
>
> * `prompt_id`
> * `prompt_id` **+** `prompt_version`&#x20;
> * `prompt_version_id`

For more information please refer to the [API section](/for-developers/api.md) or to [Swagger](https://api.prst.ai/docs) with up-to-date API schemes.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.prst.ai/elements-and-features/feedback-system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
