Working with Prompts

Prompts are structured text, instructions, or contextual information that guide the NL Search Service in generating accurate and relevant responses. A prompt combines instructions, relevant context, and a question or request that defines the expected outcome.

Working with Stored Prompts

Use the Prompt Store page to create and manage reusable prompts, instructions, and sample queries for the chatbot. These stored prompts help guide LLM behavior, provide consistent context across requests, standardize response handling, and improve the quality and relevance of generated responses.

Select PeopleTools, and then Utilities, and then Administration, and then PeopleSoft Assistant, and then Prompt Store.

The following example illustrates the Prompt Store page. You can find definitions for the fields and controls later on this page.


Prompt Store page

Fields or controls and descriptions for the Prompt Store page.

Field or Control Description

Prompt Type

Select the prompt type. Valid values are:
  • Generic Prompt - Stores reusable standard instructions that are always sent to the LLM to control response format, behavior, or the handling of specific data types. For example, instructing the LLM to return only the intent name, generate only the query without explanations, or format date and time values in a specific way. These prompts provide common guidance for all requests.

  • System Prompt - Stores system-level instructions that are included with every chat request sent to the LLM. These prompts establish the overall behavior and context for the assistant and are transmitted along with the user's message for every interaction.

  • User Prompt - Stores reusable prompts generated from user interactions. When a user approves a response (for example, by selecting the Thumbs up button), the corresponding OpenSearch query generated by the LLM is extracted and stored as a User Prompt. These prompts are associated with a specific search definition, allowing the application to reuse successful queries for similar future requests.

Intent Name

Enter an intent name to specify the business intent or functional area to which the prompt applies.

Prompt Value

Displays the prompt text or instruction to be sent to the LLM.

Edit Prompt

Select to open the Edit Prompt dialog box and enter or edit the Prompt Value.

Created Date Time

Displays the date and time when the prompt was created.