expert.initialPrompt

Provides a custom prompt text used by the AI provider before classifying messages.

This parameter applies to AI-based classification (mmaitag).

Name:

expert.initialPrompt

Scope:

action

Type:

string

Default:

Task: Classify the log message that follows. Output: Exactly one label from this list: NOISE, REGULAR, IMPORTANT, CRITICAL. Restrictions: No other text, explanations, formatting, or newline characters.

Required?:

no

Introduced:

9.0.0

Description

Optional custom prompt text. If unset, the default value is used.

Action usage

action(type="mmaitag" expert.initialPrompt="Classify precisely")

See also


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.