Skip to main content

Chatbot Version 2.0.4 - Release Notes

Release notes for ept AI chatbot version 2.0.4.

Chatbot Version 2.0.4 - Release Notes

📋 Select Chatbot Version:
Latest (v2.0)RECOMMENDED
Version 2.0STABLE
Version 1.0.0DEPRECATED
💡 Tip: Use the latest version for new integrations. Version-specific docs help with maintenance and troubleshooting.

🎨 Version 2.0.4 - Modern UI with advanced features

What's New in 2.0.4

🎨 Modern UI Design

  • Completely redesigned interface - Clean, contemporary chat design
  • Improved visual hierarchy - Better message organization and readability
  • Enhanced animations - Smooth transitions and micro-interactions
  • Modern typography - Updated font styling and text rendering
  • Refined color palette - More accessible and visually appealing colors
  • Better button design - Modern button styles and hover effects

🚀 New Features in 2.0.4

  • File Upload Support - Upload documents and images
  • Advanced Welcome Messages - Rich welcome content with icons
  • Enhanced Header Customization - Custom icons and chat names
  • Show/Hide Controls - Programmatic widget visibility control
  • Initially Hidden Option - Start widget hidden by default
  • Maximize Button Control - Show/hide maximize button
  • Disclaimer Text - Custom disclaimer support
  • Enhanced Error Handling - Better error recovery and user feedback

Integration

<script>
// Configure the chatbot with v2.0.4 features
window.eptAIConfig = {
accessToken: 'your-access-token-from-backend',
botName: 'Support Bot',
defaultQuestions: ["What are your products?"],
// v2.0.4 features
headerIcon: '🤖',
headerChatName: 'AI Support',
enableFileUpload: true,
initiallyHidden: false,
showMaximizeButton: true,
disclaimerText: 'This chat is powered by AI.',
advancedWelcomeText: {
icon: '👋',
title: 'Welcome to Support',
description: 'How can we help you today?'
}
};
</script>

<!-- Load version 2.0.4 -->
<script
src="https://assets.ept.ai/chatbot/loader.js"
data-version="2.0.4"
async>
</script>

Version Targeting

Major Version

<!-- Latest 2.x version -->
<script src="https://assets.ept.ai/chatbot/loader.js" data-version="2.0" async></script>

Track-Based

<!-- Stable track (recommended for production) -->
<script src="https://assets.ept.ai/chatbot/loader.js" data-track="stable" async></script>

<!-- Beta track (early access) -->
<script src="https://assets.ept.ai/chatbot/loader.js" data-track="beta" async></script>

Specific Patch

<!-- Pin to exact patch version -->
<script src="https://assets.ept.ai/chatbot/loader.js" data-version="2.0.13" async></script>

New Configuration Parameters in 2.0.4

Core Parameters

ParameterTypeDefaultDescription
accessTokenstring-Required. Authentication token from your backend
botNamestring'AI'Display name for the bot
defaultQuestionsstring[][]Suggested questions to display

UI & Appearance (Enhanced in 2.0.4)

ParameterTypeDefaultDescription
darkModebooleanfalseEnable dark theme
hideLogobooleanfalseHide ept AI branding
fullWindowbooleanfalseFull browser window mode
inlinebooleanfalseInline embedding mode
parentDivstringnullContainer element for inline mode
botImagestringdefaultCustom bot avatar image URL
userImagestringdefaultCustom user avatar image URL
headerIconstring'💬'New: Custom header icon
headerChatNamestring'Chat'New: Custom header chat name
showMaximizeButtonbooleantrueNew: Show/hide maximize button
initiallyHiddenbooleanfalseNew: Start widget hidden by default (requires custom show/hide buttons)

Text & Messages

ParameterTypeDefaultDescription
introTextstring"Hi, I'm {botName}..."Welcome message displayed when chat loads
placeholderTextstring'Type your message here...'Input field placeholder text
loadingTextstring''Text shown while AI is processing
networkErrorTextstring'Connection Lost...'Network error message
disclaimerTextstring''New: Custom disclaimer text

Advanced Features (2.0.4)

ParameterTypeDefaultDescription
enableFileUploadbooleanfalseNew: Enable file upload functionality
advancedWelcomeTextobjectnullNew: Advanced welcome message with icon, title, and description
eptMetaDataobjectnullOptional metadata for advanced use cases
versionstring'1.2.7'Widget version identifier

Advanced Welcome Text Object

advancedWelcomeText: {
icon: "👋", // Welcome icon
title: "Welcome to Support", // Welcome title (max 100 chars)
description: "How can we help you today?" // Welcome description (max 500 chars)
}

Widget Control Methods

// Show/hide widget programmatically
window.eptAIConfig.show();
window.eptAIConfig.hide();

// Token refresh (24-hour expiry)
window.eptAIConfig.accessToken = 'new-token';

New Parameter Examples

Initially Hidden Widget (Requires Custom Buttons)

Important: When using initiallyHidden: true, you must provide your own show/hide controls.

<!-- Your custom buttons -->
<button id="show-chat-btn" class="btn btn-primary">💬 Get Help</button>
<button id="hide-chat-btn" class="btn btn-secondary" style="display: none;">✖️ Close Chat</button>

<script>
window.eptAIConfig = {
accessToken: 'your-token',
initiallyHidden: true, // Widget starts hidden - YOU MUST provide show/hide buttons
botName: 'Support Bot'
};

// Required: Add show/hide button handlers
document.getElementById('show-chat-btn').onclick = function() {
window.eptAIConfig.show();
this.style.display = 'none';
document.getElementById('hide-chat-btn').style.display = 'inline-block';
};

document.getElementById('hide-chat-btn').onclick = function() {
window.eptAIConfig.hide();
this.style.display = 'none';
document.getElementById('show-chat-btn').style.display = 'inline-block';
};
</script>

⚠️ Important: If you set initiallyHidden: true without providing show/hide controls, users will have no way to access the chat widget!

Custom Header Design

window.eptAIConfig = {
accessToken: 'your-token',
headerIcon: '🤖',
headerChatName: 'AI Assistant',
showMaximizeButton: false // Hide maximize button
};

File Upload with Disclaimer

window.eptAIConfig = {
accessToken: 'your-token',
enableFileUpload: true,
disclaimerText: 'Files are processed securely and deleted after 24 hours.',
advancedWelcomeText: {
icon: '📁',
title: 'Upload & Chat',
description: 'Upload documents or ask questions directly.'
}
};

Breaking Changes from 1.0.x

  • New UI design may affect custom CSS
  • Some configuration parameter names updated
  • Enhanced error handling may change error messages

Migration from 1.0.x

See Migration Guide for detailed upgrade instructions.