@if (task) {
{{ task.parameters.name }}
@if (task.parameters.llm.model; as model) {
@if ((modelsInfo | async)?.[model]; as modelInfo) {
{{ modelInfo.name }}
@if (task.parameters.llm.keys?.[modelInfo.userKey]) {
({{ 'tasks-automation.settings.own-key' | translate }})
} @if ( !!task.parameters.llm.reasoning_config?.effort || !!task.parameters.llm.reasoning_config?.budget_tokens ) {
({{ 'tasks-automation.settings.with-reasoning' | translate }})
} }
}
@if (task.parameters.filter || task.parameters.filter_expression_json) {
@if (hasFilters && !task.parameters.filter_expression_json) { @if (task.parameters.filter; as filter) {
{{ filter.contains?.join(', ') || '-' }}
@if (filter.contains_operator === 1) {
{{ 'tasks-automation.form.filter.operator' | translate }}
}
@if (fieldTypes.length > 0) {
@for (type of fieldTypes; track type) { {{ type }} }
} @if (notFieldTypes.length > 0) {
@for (type of notFieldTypes; track type) { {{ type }} }
} @if (labels.length > 0) {
@for (label of labels; track label) {
{{ label }}
}
@if (filter.labels_operator === 1) {
{{ 'tasks-automation.form.filter.operator' | translate }}
}
} @if (apply_to_agent_generated_fields) {
} } } @else {
@if (task.parameters.filter_expression_json) { } @else {
-
}
}
} @if (askOperation) {
@if (askOperation.json) { {{ askOperation.question }} } @else {
{{ askOperation.user_prompt || askOperation.question }}
}
{{ askOperation.destination }}
} @if (labelOperations) { @for (labelOperation of labelOperations; track labelOperation.ident) {
{{ labelOperation?.ident }}
@if (labelOperation?.multiple) {
} @if (labelOperation?.description) {
{{ labelOperation.description }}
}
{{ 'tasks-automation.form.labels-selection.label-list.label' | translate }} {{ 'tasks-automation.form.labels-selection.label-list.when-to-apply' | translate }} @for (label of labelOperation.labels; track label) { {{ label.label }} {{ label.description || '-' }} }
} } @if (graphOperation) {
{{ 'tasks-automation.graph-extraction.ner-types.ner-type' | translate }} {{ 'generic.description' | translate }} @for (entity of graphOperation.entity_defs; track entity) { {{ entity.label }} {{ entity.description || '-' }} }
@if ((graphOperation.examples || []).length > 0) {
{{ 'tasks-automation.graph-extraction.ner-examples.ners' | translate }} {{ 'tasks-automation.graph-extraction.example-text' | translate }} @for (example of graphOperation.examples; track example) {

{{ 'tasks-automation.graph-extraction.ner-examples.ners' | translate }}

    @for (entity of example.entities; track entity) {
  • {{ entity.name }} ({{ entity.label }})
  • }

{{ 'tasks-automation.graph-extraction.ner-examples.relations' | translate }}

    @for (relation of example.relations; track relation) {
  • {{ relation.source }} — {{ relation.target }} ({{ relation.label }})
  • }
{{ example?.text || 'Some stuff' }}
}
}
} @if (qaOperation) {
{{ qaOperation.question_generator_prompt || '-' }}
{{ qaOperation.generate_answers_prompt || '-' }}
{{ qaOperation.max_questions ?? 20 }}
} @if (task.task.name === 'prompt-guard' || task.task.name === 'llama-guard') { @if (task.parameters.on === TaskApplyTo.FULL_FIELD) { {{ 'tasks-automation.form.on.resources' | translate }} } @else { {{ 'tasks-automation.form.on.text-blocks' | translate }} } } @for (trigger of triggers; track trigger) {
{{ trigger.url }}
@if (trigger.headers.length > 0) {
} @if (trigger.params.length > 0) {
}
} }