Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

{
  "metadataField": {
    "uri": "_source.uri",
    ...
  }
}

Feedback

This component saves various values as a feedback entity in storage

Configuration:
{
    "component": "feedback",
    "description": "This processor saves feedback data in storage",
    <configuration>
}
Configuration parameters:

feedbackField

(String) The path for fetching the numeric value that measures the subjective opinion of a feedback. Example: -1:Bad, 1:Good.

feedbackMessagesField

(Optional, String array) The paths to field names (String), the key and value of each field is stored as part of the feedback entity.

endpointField

(Optional, String) The path for fetching the value for the endpoint (String) used for the feedback.

queryField

(Optional, String) The path for fetching the query (String) used for the feedback.

queryResponseField

(Optional, String) The path for fetching the response (JsonNode) for the query used in the feedback.

{
  "feedbackField": "/..",
  "feedbackMessagesField": [
    "/.."
  ],
  "endpointField": "/..",
  "queryField": "/..",
  "queryResponseField": "/.."
}

Endpoint API

The endpoint API allows to define and manage endpoints which can then be used in the API controller.

...