Enterprise Search
Logo
Instructions

Instructions

Logo

4 mins read READ

The Instructions section is where you define the Enterprise Search agent's identity and behavior: "Define how your Enterprise Search Agent should behave and what users see when starting a conversation." It sits under Agent setup in the side-nav, and its fields are grouped under the heading Enterprise Search Agent behavior. It's the same editor an AI agent uses — worded here for a grounded, cite-your-sources search assistant.

es-fix_instructions.png
es-fix_instructions.png

What is the Instructions section?

You fill three structured fields — a Role, a Goal, and the long-form Instructions body — plus the conversation starters users see when they first open the agent. Instructions is the agent's core, always-on guidance.

How do I set the agent's role and goal?

The screen opens with two labeled, single-line boxes:

FieldPurposePlaceholder
RoleThe agent's persona or area of expertise."Knowledge assistant for [Company] employees"
GoalWhat the agent is trying to achieve."Answer work questions from [Company]'s indexed knowledge — accurately, with sources"

Keep them concrete: together they frame who the agent is and what it's for, and they anchor everything else it does.

How do I write the agent's instructions?

Below Role and Goal is the Instructions field, previewed with the hint "Detailed rules for tone, format, and behavior." Click it, or the pencil icon, to open a full-screen editor headed "Provide background context and instructions related to your agent's expertise."

Enterprise Search provides search-specific wording and guidance for configuring a grounded assistant.

Above the text, a row labeled Add Instructions carries a more (three-dots) menu, a copy button once there's content, and the Preview / Code toggle.

A floating toolbar lets you Add variable (inserts a {{ }} placeholder) and Add code (inserts a {% %} block); variables show as pills in both the Preview and Code views. Click Done to bring your text back to the section. The Instructions editor supports detailed guidance; concise, well-ordered instructions generally produce more reliable behavior than very long instructions.

The editor's more menu

The more (three-dots) menu on the Add Instructions row groups:

  • Upload instruction file, Download instructions, View diff — import a .md or .txt file (it overwrites the current instructions, so download a copy first), save the current text as instructions.md, or compare unsaved edits against the last saved version.

  • Copy instruction, Clear all, Discard & close — copy the text, clear the field, or close without keeping changes. Copy instruction and Clear all appear only when there's content. Upload instruction file, Clear all and Discard & close are hidden when the instructions are read-only.

How do I set conversation starters?

Conversation starters are the suggested prompts users see when they first open the agent, so they know what to ask. Add them in the Conversation starters box below the Instructions field. Each row is one prompt, and you can add up to four. The box always keeps one empty row ready to type into until all four are filled, and pressing Enter in a row jumps to the next one. To remove a starter, hover over its row and click the ×.

How do my instructions become the prompt the model sees?

At runtime, your role, goal, and Instructions body are compiled into the agent's system prompt using a template matched to the model family, so the same instructions work across models. The runtime then appends a few things you don't write by hand:

  • Language and style directives from response-generation settings.

  • Content-filter and word-filter guidance from guardrail configuration.

  • Optionally, the output of a custom "additional context" automation from pre-processing, appended after it runs with the user's query.

  • A hidden context message carrying the current date and time plus any per-user context, so answers stay time-aware.

How do I save and publish my changes?

  1. Click Save at the top of the section. While you have edits, an Unsaved changes indicator appears next to it. Saving stores your instructions in the Enterprise Search admin configuration.

  2. Try the result in Test agent, which runs your current working configuration, including changes you haven't published.

  3. Publish from the admin header. Your changes reach the live search experience only after you publish them; see Overview (Enterprise Search).

FAQs

What are conversation starters?

Conversation starters are the suggested prompts users see when they first open Enterprise Search. Each row is a single prompt (placeholder "Start typing…"), removed with the × that appears on hover. You can add up to four starters. The box always keeps one empty row ready to type into until all four are filled, and pressing Enter in a row jumps to the next one. Good starters show off what the agent can help with and lower the friction of the first message.

How do I save my changes?

Use Save at the top of the section. While you have edits, an Unsaved changes indicator appears next to it; once saved, the button is disabled because there's nothing left to store. Changes you make in the full-screen editor come back to the section when you click Done, but they aren't stored until you Save the section. If the section is read-only — because you're viewing a published version or lack edit access — the Save control won't appear and the fields can't be edited.

Why do my saved changes not appear in the live Enterprise Search experience?

Saving updates the admin configuration, but changes become live only after you publish the Enterprise Search agent. Publishing requires deploy permission.

What happens if I leave the full-screen Instructions editor without clicking Done?

The editor closes when you navigate to another configuration section, including with the browser Back button. Click Done before moving on or your edits will not be brought back to the Instructions section.