back to changelog

Introducing Direct Client Function Calling

ChatBotKit's enhanced client-side functions allow chatbots to directly interact with web page features, enabling them to configure settings and perform tasks rather than just providing instructions.

We are excited to announce a major enhancement to our Client-side Functions feature for ChatBotKit's AI Widgets: the introduction of direct client function calling. This development marks a significant leap forward in how chatbots can interact with web pages or apps, enhancing both functionality and user experience.

💡 See live example here.

The new direct client function calling capability allows the chatbot not only to access content available on the page but also to invoke commands and interface with the features on that page. This enables the creation of intelligent agents capable of performing actions and configuring settings directly within the application, rather than just providing instructional responses.

Key Features

Interactive Command Invocation

Chatbots can now execute commands directly on the page, enabling interactive experiences that are more engaging and useful. For instance, a chatbot can adjust settings, update user profiles, or perform other specific tasks aligned with user needs.

Enhanced User Support

This feature dramatically improves the chatbot’s ability to assist users. By directly interacting with web page elements, chatbots can carry out complex tasks such as modifying application configurations or executing user commands without the user needing to navigate or perform manual actions.

Seamless Integration

The setup for enabling direct client function calling is straightforward, allowing developers to configure functionalities directly on the web page where the widget is embedded. This seamless integration ensures that the chatbot operates harmoniously within the existing application architecture.

Improved User Experience

By enabling chatbots to perform actions directly, users receive more efficient and effective support. This feature transforms chatbots from simple Q&A tools into active participants in user interactions, capable of significantly enhancing the user journey.

Practical Application

Consider a chatbot integrated into a productivity application that manages user settings. Instead of merely guiding users on how to configure settings, the chatbot can directly change settings such as notification preferences, privacy controls, or interface layouts. Users benefit from hands-on assistance that minimizes the need for manual adjustments, leading to a more streamlined and efficient interaction process.

For developers and users who want to explore the potential of this feature, we have prepared detailed examples and documentation to guide you through the setup process. You can view these resources here.

Conclusion

This enhancement aligns with our commitment to expanding the capabilities of AI solutions and improving interactive user experiences. By integrating direct client function calling, we empower developers to create robust, interactive agents that redefine what is possible with chatbot technology.

We invite you to explore these capabilities and see how they can transform your web applications, delivering unprecedented interactivity and utility to your users. As always, we look forward to your feedback and are excited to see the innovative solutions you create with these new tools.