Creating Chat Assistants
Chat assistants enable real-time, AI-powered conversations with your website visitors. This guide walks you through the process of creating, configuring, and deploying a chat assistant on your website.Before You Begin
Before creating a chat assistant, it’s helpful to:- Define the primary purpose of your assistant (support, sales, information, etc.)
- Identify common questions your assistant should answer
- Prepare any knowledge documents your assistant might need
- Consider the tone and personality your assistant should have
Creating a New Chat Assistant
Step 1: Initiate Creation
- Navigate to the Assistants section in the sidebar
- Click the + Create Assistant button in the top-right corner
- Select Chat as the assistant type
- Click Continue
[Screenshot placeholder: Assistant creation screen with Chat type selected]
Step 2: Basic Configuration
In the first section of the setup wizard, configure the basic settings:- Name: Give your assistant a descriptive name (e.g., “Support Bot”, “Sales Assistant”)
- Description: Add a brief description of the assistant’s purpose
- Avatar: Upload a custom avatar image or select one from the library
- Language: Choose the primary language for your assistant
Choose a name that reflects the assistant’s function. This helps users understand who they’re talking to.
Step 3: AI Model Configuration
Configure the AI model settings to control your assistant’s behavior:-
Instructions: Write detailed instructions for your assistant’s behavior, knowledge, and tone
- Be specific about how it should respond
- Define its role and limitations
- Specify when it should escalate to a human
-
Model: Select the AI model to power your assistant
- GPT-4: Most capable model for complex conversations
- GPT-3.5: Good balance of performance and cost
-
Temperature: Adjust the creativity level (0.0-1.0)
- Lower values (0.2-0.4): More consistent, conservative responses
- Higher values (0.6-0.8): More creative, varied responses
[Screenshot placeholder: Model configuration screen with parameters]
Example Instructions
Example Instructions
Step 4: Knowledge Base Connection
Connect relevant knowledge to help your assistant provide accurate information:- Click the Knowledge tab in the setup wizard
- Select files from your Knowledge Base to associate with this assistant
- Adjust the knowledge retrieval settings if needed:
- Relevance Threshold: Set how closely content must match a query (0.0-1.0)
- Number of References: How many knowledge snippets to include per response
[Screenshot placeholder: Knowledge connection interface with selected files]
If you haven’t uploaded knowledge files yet, you can add them later by editing the assistant.
Step 5: Communication Settings
Configure how your assistant handles conversations:- Welcome Message: Set the initial message users see when starting a conversation
- Fallback Response: Define what the assistant says when it can’t answer a question
- Conversation Timeout: Set how long until an inactive conversation closes
- File Sharing: Enable or disable file uploads from users
[Screenshot placeholder: Communication settings screen]
Step 6: Human Handoff
Configure when and how your assistant transfers conversations to human agents:-
Handoff Triggers: Define conditions that trigger a human handoff
- Explicit user request
- Multiple fallback responses
- Specific keywords or topics
- Sentiment detection
-
Handoff Behavior:
- Set notification preferences for agents
- Configure queue behavior
- Define handoff messages
[Screenshot placeholder: Human handoff configuration screen]
Step 7: Advanced Settings
Configure additional options for your chat assistant:- Persistent Context: How much conversation history to maintain
- Analytics: Enable detailed conversation analytics
- Message Ratings: Allow users to rate assistant responses
- Custom Variables: Define variables to track during conversations
Step 8: Finalize Creation
- Review all settings across the different tabs
- Click Create Assistant to save your configuration
- You’ll be redirected to the assistant details page
Testing Your Chat Assistant
Before deploying to your website, test your assistant:- On the assistant details page, click the Test tab
- Start a conversation with your assistant
- Try different questions and scenarios to evaluate responses
- Check how knowledge retrieval works with various queries
- Test human handoff functionality if configured
[Screenshot placeholder: Testing interface with sample conversation]
Deploying on Your Website
To deploy your chat assistant on your website:- Navigate to the Channels tab on your assistant’s page
- Click + Add Channel and select Website Widget
- Configure the widget appearance:
- Colors and theme
- Position on page
- Size and behavior
- Configure visitor information collection if needed
- Click Save Configuration
- Copy the generated JavaScript code
- Paste the code into your website’s HTML, just before the closing
</body>tag
[Screenshot placeholder: Widget configuration screen]
Best Practices
Writing Effective Instructions
- Be specific about the assistant’s role and knowledge
- Define the tone and personality clearly
- Include examples of good responses
- Specify limitations and escalation criteria
Optimizing Knowledge
- Use clear, concise documents focused on single topics
- Break large documents into smaller, focused files
- Include common variations of terms and questions
- Update knowledge regularly as information changes
Testing and Refinement
- Test with a variety of questions, including edge cases
- Review conversation logs to identify improvement areas
- Update instructions based on common misunderstandings
- Add new knowledge files to address gaps
Next Steps
Configure Webchat Widget
Customize the appearance and behavior of your chat widget
Manage Knowledge Base
Learn how to organize and update your assistant’s knowledge
Analyze Performance
Track and improve your assistant’s effectiveness
Create Email Assistant
Set up an assistant to handle email communications