Documentation
Condition
This step is a flexible condition step. Based on the outcome, either the true path will be further executed or the false path. It can comprise multiple condition statements, which are combined with AND or OR to generate true or false.
Configuration
Type: And or Or - defines if all conditions or just one has to be matched to evaluate to true.
Conditions
Here you can add one or more conditionsCompletion (query): this applies AI on the query. If prompt and query generate conditionMatched: true in the LLM response, the condition evaluates to true.
An example is to ask something like “Decide if the query asks for summarizing documents or analyzing documents in detail respectively or if this is not the case. “Query length restriction. This counts the number of words in the query. If it is too long or too short, the condition matches to false. Otherwise it is true.
Match results. This analyzes specific result fields for each result matches the regular expression given. You can also include the result teaser.
If match all results is true, then the regex must be contained in all results.Match query. This matches a regular expression to the query. If this Java regular expression matches, the condition evaluates to true
Match query metadata. This matches a regular expression on the metadata of a query. If this Java regular expression matches, the condition evaluates to true. Available metadata fields or for instance language (if it was detected previously) or ipAddr