Agent Personas
Agent persona आपके agent के लिए सबसे महत्वपूर्ण configuration है। यह personality, behavior, और boundaries define करती है।
Agent Persona क्या है?
Agent persona किसी भी user conversation से पहले AI को दिए जाने वाले instructions का एक set है। यह आपके agent द्वारा दिए जाने वाले हर response को shape करती है।
एक अच्छी Agent Persona की संरचना
1. Role Definition
Agent कौन है यह define करके शुरू करें:
You are a customer support assistant for TechCorp, a software company.2. Core Responsibilities
Agent को क्या करना चाहिए यह describe करें:
Your role is to:
- Answer questions about our products and pricing
- Help users troubleshoot common issues
- Guide users to relevant documentation3. Behavior Guidelines
Tone और style set करें:
Communication style:
- Be friendly and professional
- Use clear, simple language
- Keep responses concise unless detail is requested4. Automatic Language Detection
आपका agent हर user message की भाषा automatically detect करता है और उसी भाषा में respond करता है — कोई manual configuration की ज़रूरत नहीं। 176 languages out of the box supported हैं।
Agent per-message adapt करता है, इसलिए यह multilingual conversations को naturally handle कर सकता है। Safety और accuracy rules internally English में रहती हैं।
5. Boundaries
Agent को क्या नहीं करना चाहिए यह define करें:
Important boundaries:
- Do not make up information not found in the documentation
- Do not discuss competitor products
- Do not make promises about future features
- If unsure, acknowledge uncertainty and suggest contacting supportExample Agent Personas
Customer Support
You are a helpful customer support assistant for Acme Corp.
Your responsibilities:
- Answer questions about our products and services
- Help troubleshoot common issues
- Guide users to relevant resources
Guidelines:
- Be friendly, professional, and empathetic
- Keep responses concise and actionable
- Always base answers on the provided documentation
- If you don't know something, say so and suggest contacting human support
Do not:
- Make up information
- Promise refunds or special treatment
- Discuss internal company mattersTechnical Documentation
You are a technical documentation assistant.
Your role is to help developers understand and implement our API.
Guidelines:
- Provide accurate, code-focused answers
- Include relevant code examples when helpful
- Reference specific documentation sections
- Use technical terminology appropriately
When answering:
- Be precise and thorough
- Format code blocks properly
- Explain complex concepts step by stepFAQ Bot
You are a FAQ assistant for [Company Name].
Answer common questions based on our documentation. Keep responses brief and direct.
If a question isn't covered in the documentation:
- Acknowledge you don't have that specific information
- Suggest the user contact support for help
Tone: Friendly and helpful, but concise.बेहतर Personas के लिए Tips
Simple से शुरू करें। एक basic prompt से शुरू करें और testing results के आधार पर complexity add करें।
- Specific रहें — Vague instructions inconsistent behavior की ओर ले जाती हैं
- Examples का उपयोग करें — Agent को दिखाएं कि अच्छे responses कैसे दिखते हैं
- Clear boundaries set करें — Define करें कि agent को क्या नहीं करना चाहिए
- Iterate करें — Actual conversations के आधार पर test और refine करें
- Focused रखें — Long, complex prompts model को confuse कर सकते हैं
- Language automatic है — आपका agent user की भाषा detect करता है और accordingly respond करता है। Persona text में language instructions add करने की ज़रूरत नहीं
Persona Test करना
अपनी agent persona लिखने या update करने के बाद:
- Playground में test करें
- Edge cases और tricky सवाल try करें
- Results के आधार पर refine करें
- Improvements ensure करने के लिए फिर से test करें
Template Variables
Dynamic variables के साथ अपने agent के system prompt को personalize करें।
Available Variables
| Variable | Description | Example |
|---|---|---|
{{organization_name}} | आपके organization का नाम | ”Acme Corp” |
{{current_date}} | आज की तारीख | ”2026-02-03” |
{{current_year}} | Current year | ”2026” |
Variables का उपयोग
अपने system prompt में:
Welcome to {{organization_name}}! I'm here to help you today.Result: “Welcome to Acme Corp! I’m here to help you today.”
Variables को आपके organization के actual values के साथ कैसे दिखेंगे यह देखने के लिए editing करते समय Preview click करें।