Chatbot Playground

Test and preview your chatbot configuration in real-time

The Chatbot Playground provides a live testing environment where you can interact with your chatbot and monitor its behavior in real-time. This interface combines a chat preview with detailed session logs to help you fine-tune your chatbot's performance.

Interface Overview

Banner

Chat Preview Panel (Left Side)

  • Status Indicator: Shows your chatbot's online/offline status
  • Chat Interface:
    • Displays your configured chatbot avatar and name
    • Shows welcome message and chatbot responses
    • Features a message input field for testing interactions
    • Reflects your chosen theme and branding
  • Delete Button: Allows you to clear the current chat session

Session Logs Panel (Right Side)

The logs panel provides real-time technical information about your chat session:

Session Information

  • Chatbot ID and platform details
  • Memory and conversation settings
  • Vector store initialization status

Configuration Details

  • Temperature settings
  • Maximum input tokens
  • Chat model specifications
  • Conversation history limits

Conversation Monitoring

  • Real-time chat history
  • System prompts and instructions
  • Vector retrieval results
  • Token usage breakdown:
    • Prompt tokens
    • Completion tokens
    • Total tokens per interaction

Testing Features

Real-Time Testing

  • Test different user scenarios
  • Verify response accuracy
  • Check conversation flow
  • Validate knowledge base retrieval
  • Monitor token consumption

Configuration Validation

  • Test custom welcome messages
  • Verify branding elements
  • Confirm response formats
  • Check conversation memory
  • Validate data source integration

Best Practices

  1. Regular Testing

    • Test after configuration changes
    • Verify different conversation paths
    • Check edge cases
    • Monitor token usage patterns
  2. Performance Optimization

    • Review response times
    • Analyze token efficiency
    • Check memory utilization
    • Monitor vector retrieval accuracy
  3. User Experience Validation

    • Test conversation natural flow
    • Verify branding consistency
    • Check response formatting
    • Validate error handling

Additional Resources

Additional Resources:

Note: The playground environment reflects your current configuration settings. Any changes made in Settings will be immediately available for testing here.