Skip to main content

Chatbot Version 2.0

📋 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 - Modern UI with advanced features (Latest: 2.0.12)

Overview

Version 2.0 represents a major upgrade to the ept AI chatbot with a completely redesigned interface and powerful new features. This version focuses on modern user experience, enhanced customization options, and improved developer integration.

Key Features

🎨 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

🚀 Advanced Features

  • 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

Quick Start

<script>
// Configure the chatbot with v2.0 features
window.eptAIConfig = {
accessToken: 'your-access-token-from-backend',
botName: 'Support Bot',
defaultQuestions: ["What are your products?"],
// v2.0 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 latest 2.0 version -->
<script
src="https://assets.ept.ai/chatbot/loader.js"
data-version="2.0.12"
async>
</script>

Version Targeting

<!-- Latest 2.x version -->
<script src="https://assets.ept.ai/chatbot/loader.js" data-version="2.0.12" 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>

Configuration Parameters

Core Parameters

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

UI & Appearance

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'💬'Custom header icon
headerChatNamestring'Chat'Custom header chat name
showMaximizeButtonbooleantrueShow/hide maximize button
initiallyHiddenbooleanfalseStart widget hidden by default

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''Custom disclaimer text

Advanced Features

ParameterTypeDefaultDescription
enableFileUploadbooleanfalseEnable file upload functionality
enableChatPersistencebooleantrueEnable/disable chat persistence in localStorage
advancedWelcomeTextobjectnullAdvanced welcome message with icon, title, and description
eptMetaDataobjectnullOptional metadata for advanced use cases
versionstring'1.2.7'Widget version identifier

Widget Control

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

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

Recent Updates

Version 2.0.12 (Latest)

🎨 Enhanced UI/UX

  • Improved Tooltip Positioning - Tooltips now display below feedback icons instead of above
    • Better visibility and user experience for copy and feedback buttons
    • Removed tooltip arrow/caret for cleaner appearance
    • Smoother tooltip animations and positioning

Version 2.0.11

💬 Advanced Welcome Message

  • Enhanced Welcome Message Handling - Improved display logic for advanced welcome messages
    • Support for image icons or emoji in welcome messages via advancedWelcomeText.icon
    • Better persistence of welcome messages when chat is cleared
    • Automatic detection of image paths vs. emoji characters
  • Custom Tooltip System - New custom tooltip functionality for interactive elements
    • Tooltips for copy, like, and dislike buttons
    • Smooth fade-in/fade-out animations
    • Auto-positioning with scroll and resize handling

Version 2.0.10

💾 Chat Persistence Control

  • enableChatPersistence Parameter - New configuration option to enable/disable chat persistence
    • Allows users to control whether conversations are saved to localStorage
    • When disabled, chat history is not persisted across page refreshes
    • Default: true (enabled)

Version 2.0.9

🎨 UI Improvements

  • Enhanced visual design and user interface refinements
  • Optimized rendering performance

Version 2.0.8

  • Minor bug fixes and stability improvements

Version 2.0.7

🎨 Enhanced Customization

  • 80+ CSS Variables - Comprehensive design customization system
    • New color variables for links, code blocks, tables, notifications, badges, and loading states
    • Enhanced dark mode variables including JSON messages, progress bars, and scrollbars
    • Complete typography control with heading sizes (h1-h6), paragraph, and list text
    • 17 font size variables for granular text control across all UI components
  • High Specificity CSS - Better style override support for advanced customization
  • See Design Configuration for complete variable reference

💬 Improved User Experience

  • Type While Streaming - Users can now type in the input field while AI responses are streaming
    • No more waiting for the response to complete before composing the next message
    • Smoother, more natural conversation flow
  • Enhanced Input Responsiveness - Better textarea behavior during message streaming

💾 Conversation Persistence

  • LocalStorage Integration - Conversations are now automatically saved to browser localStorage
    • Chat history persists across page refreshes and browser sessions
    • Automatic 24-hour retention period
    • Seamless restoration of conversation context on return visits
  • Improved User Continuity - Users can pick up where they left off within 24 hours

🐛 Bug Fixes & Performance

  • Performance optimizations for message rendering
  • Improved error handling and recovery
  • Enhanced accessibility and keyboard navigation

Version 2.0.6

  • UI refinements and bug fixes

Version 2.0.5

  • Margin adjustments - Improved content spacing and layout
  • Bug fixes and performance improvements

Previous Versions

  • Version 2.0.4 - File upload, advanced features, and UI improvements

Migration

If you're upgrading from version 1.0.x, see our Migration Guide for step-by-step instructions.

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

Next Steps

After successfully integrating version 2.0:

  1. Configure the Design - Customize the visual appearance
  2. Context-Aware Chat - Make your chatbot intelligent about user context
  3. Set up Continuous Improvement - Monitor performance and optimize responses
  4. Explore Advanced Integrations - Connect with CRM, support systems, and other platforms