Skip to Content
AgentsPlayground में Testing

Playground में Testing

Playground deployment से पहले agents को test और refine करने का आपका environment है।

Playground Access करना

  1. Sidebar में Agents पर जाएं
  2. अपने agent card पर Test click करें (या agent edit करते समय Test Agent)
  3. 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 करें
बहुत verboseAgent persona में “be concise” add करें
बहुत formal/casualAgent persona में tone adjust करें
जवाब नहीं जानताRelevant documents add करें
Facts बनाता हैPrompt में boundaries strengthen करें

Changes करें

  1. Playground testing में समस्या identify करें
  2. Relevant settings adjust करें (prompt, documents, configuration)
  3. Same सवालों के साथ फिर से test करें
  4. 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