Prompt profiles

Reusable system and user prompts that agents refer to by name in the prompt command. The same wording does not have to be repeated in every agent, and the wording can be changed once for all agents that use the profile. Both prompts are stored encrypted, and both are static text.

Settings

FieldTypeDefaultDescription
namerequiredstringThe name this profile is referred to by, in agents and in other configuration.
docstringFree-text notes about this profile, for whoever maintains the configuration.
systemstringThe system prompt. Usually set once per conversation. Stored encrypted; the Search2o cloud never holds the text.
userstringThe user prompt. Can be set many times; those set before one LLM call are merged into a single string. Stored encrypted; the Search2o cloud never holds the text.

Encrypted and static

The system prompt and the user prompt of a profile are encrypted by the agent server when the profile is saved, and Search2o Cloud stores only the encrypted form. The GUI decrypts the prompts through an agent server to show them, and every agent server decrypts them when it builds its runtime. See Encryption for who holds the key.

A profile's prompts are used verbatim. Braces in the text are plain characters, and the text cannot refer to the agent's variables.

Two places for a prompt

A prompt written in the agent, on the prompt command, is a dynamic string: it can refer to variables and to the query, and it is stored in plain form with the agent definition. A prompt in a profile is static and encrypted. The choice is per prompt: put wording that must stay confidential in a profile, and build the parts that change at runtime in the agent. Values given on the command override the profile's values, so an agent can take the system prompt from a profile and compose the user prompt itself.