Playground में Testing
Playground deployment से पहले agents को test और refine करने का आपका environment है।
Playground Access करना
- Sidebar में Agents पर जाएं
- अपने agent card पर Test click करें (या agent edit करते समय Test Agent)
- Playground एक side panel के रूप में slide होकर खुलता है — conversation शुरू करें
Test button तब disabled होता है जब agent status Archived या Inactive हो। Testing enable करने के लिए status Active या Testing में बदलें।
क्या Test करें
बुनियादी Functionality
- क्या agent आपके documents से सवालों के जवाब दे सकता है?
- क्या responses accurate और relevant हैं?
- क्या tone आपकी expectations से match करती है?
Edge Cases
ऐसे scenarios test करें जो आपके agent को trip कर सकते हैं:
- वे सवाल जो आपके documents में covered नहीं हैं
- Ambiguous या unclear सवाल
- Multi-part सवाल
- Context की ज़रूरत वाले follow-up सवाल
Conversation Flow
Multi-turn conversations test करें:
- क्या agent पिछले messages का context याद रखता है?
- क्या यह topic changes को gracefully handle कर सकता है?
- ज़रूरत पड़ने पर क्या यह clarification माँगता है?
Responses का मूल्यांकन
हर response के लिए, इन पर विचार करें:
| Aspect | पूछने वाले सवाल |
|---|---|
| Accuracy | क्या जानकारी सही है? |
| Relevance | क्या यह actual सवाल का जवाब देता है? |
| Completeness | क्या कुछ important missing है? |
| Tone | क्या यह आपकी brand voice से match करती है? |
| Length | क्या यह appropriately concise या detailed है? |
Iterative Improvement
समस्याएं पहचानें
Common problems और solutions:
| समस्या | Solution |
|---|---|
| गलत जानकारी | Document content check करें, retrieval improve करें |
| बहुत verbose | Agent persona में “be concise” add करें |
| बहुत formal/casual | Agent persona में tone adjust करें |
| जवाब नहीं जानता | Relevant documents add करें |
| Facts बनाता है | Prompt में boundaries strengthen करें |
Changes करें
- Playground testing में समस्या identify करें
- Relevant settings adjust करें (prompt, documents, configuration)
- Same सवालों के साथ फिर से test करें
- Verify करें कि fix से अन्य behaviors break नहीं होते
Test Scenarios Checklist
Standard test सवालों का एक set बनाएं:
## Test Scenarios for [Agent Name]
### Basic Questions
- [ ] Q: "What is [product]?" — Expected: Clear description
- [ ] Q: "How much does it cost?" — Expected: Pricing info
### Edge Cases
- [ ] Q: Random unrelated question — Expected: Polite redirect
- [ ] Q: Competitor comparison — Expected: Stays on topic
### Follow-ups
- [ ] Q: Initial question, then "Tell me more" — Expected: Expands on previous answerअपने test scenarios save करें और regressions catch करने के लिए changes करने के बाद उन्हें फिर से run करें।
Deployment के लिए तैयार
आपका agent तब तैयार है जब:
- ✅ Common सवालों के accurate जवाब देता है
- ✅ Edge cases को gracefully handle करता है
- ✅ Appropriate tone maintain करता है
- ✅ Defined boundaries का respect करता है
- ✅ Multi-turn conversations अच्छी तरह काम करती हैं
अगला, अपने agent को उन channels पर deploy करें जहाँ users उससे interact करेंगे।
Last updated on