Just two weeks after our last release, we're excited to announce SleekAI 1.4! This update brings some game-changing features including Anthropic's Claude integration, custom data sources, and significant improvements to the chatbot experience. Let's explore what's new!
Claude AI Integration
We're thrilled to announce that SleekAI now supports Anthropic's Claude AI models! Claude is known for its exceptional capabilities in understanding context, generating nuanced responses, and handling complex tasks. This integration gives you more options for powering your AI interactions, especially if you're looking for alternatives to GPT models.
Whether you're using our ChatGPT-like interface for direct conversations or setting up automated chatbots, Claude is now available throughout the entire plugin. This means you can leverage Claude's capabilities for both one-on-one conversations and automated customer support scenarios.
To get started with Claude, simply obtain an Anthropic API key and select Claude as your model in the chatbot settings. Claude offers competitive pricing and impressive performance, making it a compelling choice for many use cases.
Custom Data Sources
One of the most requested features is finally here: custom data sources for chatbots! You can now create your own data sources beyond the built-in options. This opens up endless possibilities for feeding relevant information to your chatbots.
Custom sources can pull data from:
- Custom database queries
- External APIs
- Custom post types
- Any WordPress hook
- Custom PHP functions
This feature enables you to create highly specialized chatbots that can access exactly the information they need to serve your visitors better.
add_filter('sleekAi/chatbot/sources', function ($data) { $data[] = [ 'id' => 'customSource', 'label' => 'Custom Source', 'value' => functionToGetCustomData(), ]; return $data; });
Copy
Custom Conditions for Chatbots
Another powerful addition is the ability to set custom conditions for when your chatbots should appear. While our basic conditions (like showing on specific pages or for certain user roles) work well for most cases, sometimes you need more precise control.
With custom conditions, you can now:
- Show chatbots based on user behavior
- Create complex logical conditions
- Integrate with third-party plugins
- Use any WordPress conditional tag
- Create your own PHP conditions
add_filter('sleekAi/chatbot/conditions', function ($data) { $data[] = [ 'id' => 'isCustomUrl', 'label' => 'Custom URL Check', 'value' => str_contains($_SERVER['REQUEST_URI'], '?customParam'), ]; return $data; });
Copy
Persistent Chat Sessions
We've added the ability to persist chatbot conversations across page navigations using sessionStorage. This means your visitors can navigate through your site without losing their chat history, creating a more seamless experience.
This feature is particularly useful for:
- E-commerce sites where users browse multiple products
- Documentation websites where users navigate between different pages
- Membership sites with multiple connected pages
- Any site where maintaining context between pages is important
To enable this feature, simply toggle the "Persist Messages" option in your chatbot settings.
Other Improvements
We've also made several improvements to the overall experience. The o1 models are now working correctly, and we've implemented various UI enhancements to make the chat interface more responsive and user-friendly. The chat interface now features better scrolling behavior and improved table rendering in messages.
And that's a wrap for version 1.4! We're constantly working to make SleekAI the best AI chat solution for WordPress, and your feedback helps shape our development. As always, if you have any questions or suggestions, don't hesitate to reach out. Happy chatting! 🤖✨