Skip to main content

Prompts

Overview

Prompts for the Answer AI LLM are crucial for tailoring the interactions between users and the AI Answer assistant. The complete prompt is a combination of the settings configured in this Prompts dialog and those in the Ai Settings -> Answer Ai section. The Ai Settings -> Answer Ai is where you specify the technical requirements and token replacements, whereas this dialog focuses on defining the purpose, tone, and behavior of the BOT. By separating these elements, users can more effectively manage the technical and contextual aspects of the AI’s responses, ensuring both accuracy and appropriate tone in interactions.

How to Navigate

  • From the Dashboard, select 'Prompts' from the left navigation panel.
  • In the 'All Prompts' view, existing prompts can be managed, or new ones can be created by clicking the 'Create' button.

managing prompts, with a navigation sidebar on the left and a main content area. The sidebar includes options like 'All Projects,' 'Dashboard,' and 'Knowledge Base' with 'Prompts' currently selected. The main area has a description explaining that prompts fine-tune interaction with a copilot assistant and allows for custom prompt creation. It shows a single entry with 'Name' as 'Default Prompts,' 'Model' as 'GPT-3.5 Turbo,' a truncated 'Prompt,' and an 'Action' column. The user logged in is indicated at the top right, next to a 'Create' button

Creating a New Prompt

Screenshot of an 'Update Prompt' form interface showing settings for AI interaction. Fields include 'Name' pre-filled with 'Gardner Promps', a checked box for 'Is Default', and a drop-down for 'Model' set to 'GPT-3.5-TURBO'. There is a large text box under 'System Prompt' with a detailed description of the assistant's role and behavior guidelines for interacting about the Isabella Stewart Gardner Museum. Another text box for 'Prompt' outlines the tasks, such as assisting with inquiries about the museum and providing clear responses. Additional settings include 'Temperature' set to 0, 'No Of Documents' at 3, and 'Max Tokens' at 300. 'Cancel' and 'Save' buttons are at the bottom

Setting up Prompt Details

  • Name: Assign a unique name to the prompt for easy identification.
  • Is Default: Check this box if this prompt should be the default for all new interactions.
  • Model: Select the language model, like GPT-3.5-TURBO (0125) 16k (best ROI), which the copilot will use to generate responses.

"Screenshot of a drop-down menu for selecting an AI model in a software interface. The selected option is 'GPT 3.5 Turbo (0125) 16k'. Other options in the list include 'GPT-3.5-TURBO', 'GPT-4o','GPT-3.5-TURBO' 'Bedrock Titan Lite 4K', and 'Bedrock Titan Express 8K'

Defining System and User Prompts

Auto Generate

You can re-edit the project information and check the check box, "Recreate Prompts" AI will use the information you entered when creating the project to recreate the prompt and system prompt. You can always go back and re-edit those properties. It will populate the dialog withe Is Default checked

  • System Prompt: Outline the assistant's role and provide context about the organization. This helps the AI to generate relevant and accurate responses.
Example System Prmpt:
"You are an AI assistant designed to provide information about the Isabella Stewart Gardner Museum. Your responses should be based on the context provided, which includes details about the museum, its offerings, and the intended audience for this AI copilot."

Example Prompt:
"Your main task is to assist users with their inquiries about the museum's collection, exhibitions, events, and educational programs. You may also need to help with ticket purchases. Ensure your responses are clear, concise, and informative. If the user's query is not clear, ask for clarification to provide the most accurate information."

Ai Settings -> Answer Ai

Navigate to Ai Settings -> Answer Ai

This is where you have the sophisticated customization options, includes using tokens to inject things like history or other metadata, allowing you to tailor the system's output or interaction flow more precisely.

Combining Prompts

The Prompt and System Prompt from Ai Settings -> Answer Ai is combined with this Prompt and System Promppt create the entire prompt is a layering or merging process. This process allows for who should make changes where. By fine-tuning both you can significantly affect the system's performance and the quality of its interactions or outputs. Note that if you navigate to back to project and see all the project card and you edit a project you can click the Recreate Prompts, it only effects the Prompt and System Prompt in this section not the Ai Settings -> Answer Ai

Editing Recommendations

The advice to only edit the Ai Settings -> Answer Ai Prompt when you're comfortable with prompt design highlights the importance of understanding the system's workings. Prompt design involves not just the content itself but also an appreciation of how different elements influence the model's responses. A well-designed prompt can lead to more accurate, relevant, and engaging outputs, while a poorly designed one can cause confusion or irrelevant responses.

In summary, the ability to customize prompts in this detailed manner offers powerful flexibility but requires a deep understanding of the system's mechanics and how different types of input affect the output. If you're working with such a system, it might be beneficial to experiment cautiously, document changes, and observe the effects before making significant adjustments.