Prompts are structured instructions that guide your conversational AI Pilot in generating relevant and context-aware responses. They act like a playground for training, testing, and fine-tuning AI behavior before using it in live flows.
For example:
If a prompt is created for “Flight Booking Inquiry” and a user says, “I want to book a flight to New York,” the AI Pilot identifies the intent and responds:
“Sure! Please provide your preferred travel dates.”
Topics Covered
- Components of a Prompt
- Creating a New Prompt
- Editing an Existing Prompt
- Deleting a Prompt
- Prompt Listing & Actions
Components of a Prompt
When creating prompts for your AI assistant, it's important to structure them with the right components. Here’s how each part works and how you can use them:
-
System Prompt: You can use this to set the tone, style, and behavior of the AI. Whether you want the assistant to be formal, friendly, concise, or informative, define that here.
For example: “You are a helpful and empathetic support agent who answers questions clearly and politely.” - User & AI Pilot Messages: These are sample conversations that show the AI how it should respond. Use them to guide the AI's behavior by providing real-world scenarios and expected replies.
- Conversation History: You can include past messages when you want the AI to understand the full context of an ongoing interaction. This helps the AI respond more accurately and maintain continuity.
- Variables: You can add variables or entities like {user_name} or {product} to personalize messages dynamically. This makes your responses feel more tailored and human-like.
- Structured Outputs: You can decide how you want the AI to format its response. You can request plain text for emails, JSON for API responses, or other formats depending on your needs.
Steps to Create a Prompt:
- Navigate to AI Pilots.
- Select your AI Pilot.
- Click on Prompts.
- Click on New.
- Prompt Configuration:
-
- Name: Provide a meaningful name (e.g., “Financial Support”).
- Description: Helps describe the objective of the prompt.
- System Prompt: Set the tone and instruction style.
- User Prompt : The initial user message to kick off the prompt.
- Message Pairs: Add back-and-forth conversations to enrich the prompt.
- Variables: Insert dynamic fields using {} for personalization.
- Conversation History: Insert the conversation_history block once for added context.
- Templates: Use predefined templates for quick setup.
- Reordering: Rearrange blocks except for the System Prompt (fixed at top).
Prompt Settings:
Click the Settings option to modify prompt-level configurations. These are the Options Available:
-
AI Model: Choose the LLM your AI will use:
- PT 3.5 Turbo
- PT 4 Turbo
- GPT 4
- GPT 4o
- GPT 4o mini
- o3 mini
- Claude 2 / Claude 3.5 (Haiku, Sonnet) / Claude 3 (Opus)
- Gemini 1.5 Pro
- Grok-2-1212 / Grok-2-vision-1212
- Temperature: Controls creativity (0.00 to 1.00)
- Max Tokens: Range 10–2000.
Testing the Prompt:
You can run a Simulation to test your Prompt:
- Click Run Test.
- Enter values for required variables
- The AI will simulate a live user interaction
The Output Includes:
- Latency: Time taken for response
- Tokens: Total used, with input/output breakdown on hover
Editing an Existing Prompt
How to Edit:
- Navigate to AI Pilots.
- Select your AI Pilot.
- Hover over the prompt.
- Click on Actions.
- Select Edit.
- You can modify the Prompt.
- Click Save and your Prompt will be edited.
Deleting a Prompt
How to Delete:
- Navigate to AI Pilots.
- Select your AI Pilot.
- Hover over the prompt.
- Click on Actions.
- Select Delete
- A confirmation dialog box will appear:
“This action is irreversible. Are you sure you want to delete this prompt?” - Click on the Yes and the Prompt will be deleted forever.
Prompt Listing & Actions
How to Access the Prompt List:
- Navigate to AI Pilots.
- Select your AI Pilot.
- Click on Prompts.
- It Includes: Name, Description, Last Modified By, Last Modified Date
- You can take actions like: Edit, Clone, or Delete.
- You can also sort the list by: Name or Last Modified Date.
- You can also Search the Prompt by their Name.
Comments
0 comments
Article is closed for comments.