Author: Lakshit Mathur

  • Conversation Submenu in BuddyBot

    The Conversation page within BuddyBot offers a comprehensive view of all interactions between users and the BuddyBot. This includes chats conducted in the Test Area and those from live user interactions. Here’s a breakdown of its features and usage:

    Key Features of the Conversation Page

    1. Conversation Overview:
      • The page displays a list of all conversation threads.
      • Each entry provides essential details, including:
        • Name: The subject or initial query of the conversation.
        • ID: A unique identifier for the conversation thread.
        • User: The name or identifier of the user who initiated the conversation.
        • Date: The date and time when the conversation took place.
    2. Filtering Conversations:
      • Users can filter conversations based on various criteria to streamline their view.
      • The available filters include:
        1. All User Types: Filter by user roles (e.g., Logged In Users, Visitors ).
        2. All Users: Filter by specific user.
      • After selecting the desired filters, click the Filter button to apply them.

    How to Use the Conversation Page

    1. Navigate to the Conversation submenu under the main BuddyBot menu.
    2. Review the list of conversations to get an overview of user interactions.
    3. Use the All Users and All User Types dropdowns to apply filters as needed.
    4. Click the Filter button to refine the list of conversations.
    5. Click on any conversation thread to view the detailed interaction.

    Why Use the Conversation Page?

    1. Monitor Interactions: Keep track of all conversations between users and BuddyBot.
    2. Analyze User Queries: Understand common user queries and optimize BuddyBot responses accordingly.
    3. Improve Performance: Identify areas where BuddyBot may need additional training or adjustments to better serve users.
    4. Review Test Area Chats: Access a history of your interactions within the Test Area for debugging and optimization.

    By utilizing the Conversation page effectively, you can monitor, analyze, and optimize BuddyBot interactions, ensuring a seamless and productive user experience.

    Refer to the Below Screenshot For Visual Reference :

  • Test Area Submenu in BuddyBot

    The Test Area submenu in BuddyBot is a powerful feature that allows users to preview and test the functionality of BuddyBot before deploying it on their website. It provides a controlled environment to evaluate how BuddyBot responds to user queries, ensuring its behavior aligns with your expectations.

    Features of the Test Area

    1. Switch Between Multiple BuddyBots:
      • The dropdown menu labeled Assistants (as shown in the Below screenshot) allows users to select and test different BuddyBots created within the system.
      • This feature is particularly useful for users managing multiple BuddyBots tailored for different use cases.
    2. Send Prompts and Messages:
      • Users can type queries or prompts in the message box located at the bottom of the Test Area.
      • After entering a message, click on the Send button (highlighted in the screenshot Below ) to test how BuddyBot responds.
    3. Conversation History:
      • The left-hand side of the Test Area displays a history of conversations with BuddyBot.
      • Users can click on any previous conversation from the history panel to resume chats directly, making it easy to revisit past interactions.

    How to Use the Test Area

    1. Navigate to the Test Area submenu under the main BuddyBot menu.
    2. Select a BuddyBot from the dropdown menu labeled Assistants.
    3. Type your query or prompt in the message box and click Send.
    4. Observe BuddyBot’s response and check if it meets your requirements.
    5. Review conversation history on the left panel and resume any previous chats as needed.

    Refer To Below ScreenShot For Better Reference :

    Why Use the Test Area?

    1. Preview Functionality: The Test Area provides a sandbox environment where you can test BuddyBot’s responses without affecting live user interactions.
    2. Evaluate Responses: It helps ensure that BuddyBot understands user queries accurately and delivers relevant answers based on its training data.
    3. Optimize Behavior: By testing multiple BuddyBot, you can fine-tune their settings and training data for specific use cases.

    Conclusion

    The Test Area submenu is an essential tool for users aiming to refine and optimize their BuddyBot before deploying it on their website. With features like assistant switching, message testing, and conversation history, it empowers users to ensure their AI assistant performs seamlessly in real-world scenarios.

    By leveraging this feature, you can confidently deploy a well-trained and responsive BuddyBot that enhances user engagement and satisfaction.

  • AI Training for BuddyBot: Unlocking Intelligent Conversations with Your Site Data

    Why AI Training is Important for BuddyBot

    AI training is a critical step in ensuring BuddyBot delivers accurate, relevant, and up-to-date responses to your users. Without proper training, BuddyBot will only rely on the information it was initially trained on, which can quickly become outdated. Here’s why AI training matters:

    1. Accuracy and Relevance: Training BuddyBot with your site’s posts and comments ensures it understands your specific content and context, leading to more accurate responses.
    2. Keeping Information Updated: Every time you add or edit posts or comments, syncing the data allows BuddyBot to have the latest information. Without syncing, BuddyBot will only respond based on old data.
    3. Enhanced User Experience: A well-trained AI assistant improves user satisfaction by providing timely and precise answers.
    4. Initial Training for New Users: If you’re a new user, it’s essential to train BuddyBot first by syncing your site data to allow it access for learning.

    Importance of Updating Your AI Training Knowledge Base

    Maintaining an updated AI training knowledge base is crucial for ensuring that BuddyBot provides accurate and relevant responses to user queries. Here’s why:

    1. Accuracy and Relevance: An updated knowledge base ensures that BuddyBot has access to the latest information from your site, allowing it to deliver more accurate and relevant responses.
    2. Enhanced User Experience: By keeping the knowledge base current, you enhance the overall user experience by providing timely and precise answers to their queries.
    3. Adaptability to Changes: Regular updates help BuddyBot adapt to changes in your site’s content, ensuring it remains a reliable source of information.

    How to Train BuddyBot

    Training BuddyBot is simple and effective when done regularly. Follow these steps:

    1. Access AI Training Submenu: Navigate to the ‘AI Training’ submenu under ‘BuddyBot.'(Refer to the Screenshot Below For Reference)
    2. Create AI Training Knowledgebase: Ensure that an AI Training Knowledgebase is established. If it does not exist, click the Create AI Training Knowledgebase button to initiate its setup. This step is crucial for organizing and maintaining the data necessary for BuddyBot’s training.
    3. Sync Posts and Comments: Click the sync button next to each data type (posts and comments). This action uploads your site’s content to train BuddyBot.(Refer to Second Screenshot For Visual Representation what happen When you clicked on sync button to sync Data)
    4. Repeat After Edits: Whenever you add or edit posts or comments, repeat the sync process to ensure BuddyBot has the most current information.

    Why Regular Syncing is Necessary

    Regular syncing is a necessary action for maintaining BuddyBot’s effectiveness:

    • Up-to-Date Knowledge Base: Syncing ensures BuddyBot has access to the latest updates from your site.
    • Improved Responses: It allows BuddyBot to provide accurate answers based on fresh data rather than outdated information.
    • Optimized AI Performance: Continuous training refines BuddyBot’s ability to understand user queries and deliver quality conversations.

    By following these practices, you can ensure that BuddyBot remains a reliable and intelligent assistant for your website visitors. Whether you’re a new user or managing updates, consistent AI training is key to maximizing its potential.

  • BuddyBot Settings Submenu: A Comprehensive Guide

    The BuddyBot settings page allows users to configure essential features for optimizing the BuddyBot’s functionality. This guide explains how to set up the OpenAI API key, manage visitor chat options, and configure session expiration and cleanup settings. Refer to the screenshot provided for visual guidance.

    OpenAI API Key Configuration

    Purpose

    The OpenAI API key is required for BuddyBot to function, as it connects the Buddybot to OpenAI’s services for generating responses.

    Steps to Configure

    1. Enter Your API Key:
      • Paste your OpenAI API key into the text field labeled “OpenAI API Key.”
      • Click the Change Key button to save your changes.
    2. Changing the API Key:
      • If you need to update or replace your existing API key, simply enter the new key in the same field and click Change Key.
    3. Don’t Have an API Key?

    Visitor Chat Settings

    Enable Visitor Chat

    This option allows non-logged-in users (visitors) to interact with BuddyBot.

    • When Enabled:
      • Visitors can start conversations with BuddyBot without needing an account.
      • Their chat history will be temporarily stored for the session duration.
    • When Disabled:
      • Only logged-in users can access BuddyBot.
      • Visitors attempting to interact with BuddyBot will see an error message prompting them to log in first.

    Use Case

    Enable this feature if your website serves a broad audience, including casual visitors who may benefit from interacting with BuddyBot without creating an account.

    Visitor Session Management

    Visitor Session Expiry Time

    • Purpose: Set the time duration (in hours) after which a visitor’s conversation will expire.
    • Default Value: 24 hours.
    • Effect: Once a session expires:
      • The conversation is either deleted or marked as expired (depending on other settings).

    This setting helps balance user experience with database efficiency by clearing inactive sessions.

    Delete Expired Conversations

    • Enable this option to automatically delete expired conversations when a user’s session cookie expires.
    • A daily cron job will run to remove expired conversations, ensuring your database remains clean and optimized.

    Recommendation: Enable this feature if your website handles a large volume of visitors or conversations, as it prevents unnecessary data buildup.

    Saving Settings

    After configuring all options, click the blue Save Options button at the bottom of the settings page. This ensures all changes are applied successfully.

    Conclusion

    The BuddyBot settings page provides comprehensive control over how your Buddybot interacts with users. By configuring the OpenAI API key, enabling visitor chat, managing session expiration, and cleaning expired conversations, you can optimize BuddyBot’s functionality for both logged-in users and visitors. These settings ensure a seamless user experience while maintaining database efficiency.

  • BuddyBot- Starter Guide

    Introduction

    Welcome to the BuddyBot Starter Guide! BuddyBot is designed to enhance user interaction by providing automated chat support and other features. This guide will walk you through the process of setting up and using BuddyBot effectively.

    What to Expect

    • Easy Setup: Learn how to configure BuddyBot with minimal effort.
    • Customization Options: Discover how to tailor BuddyBot to fit your needs.
    • Integration Tips: Get insights into integrating BuddyBot with your existing systems.

    Let’s Get Started

    Below are the steps to set up and use BuddyBot. Each step includes a brief overview and a link to a detailed explanation for further guidance.

    Step 1: Configure BuddyBot Settings

    After activating BuddyBot, navigate to the settings from the BuddyBot menu. In the settings, you will need to configure the following:

    • API Key: The API Key is essential for enabling BuddyBot to access OpenAI ChatGPT services. It acts as a secure bridge between BuddyBot and OpenAI, allowing BuddyBot to process user queries and generate intelligent responses. Without an API key, BuddyBot cannot utilize the AI models provided by OpenAI, rendering it non-functional for chat-based interactions.
    • Visitor Chat (Optional): The Visitor Chat option allows non-logged-in users to interact with BuddyBot. This feature is optional and can be enabled based on your preferences. However, enabling anonymous chats requires cookie consent to comply with privacy regulations. Cookie consent ensures that visitor data is handled securely and transparently.
    • Visitor Session Expiry Time: This setting determines how long a visitor’s conversation remains active before expiring. It is only applicable when Visitor Chat is enabled. Setting a session expiry time ensures that conversations are automatically cleared after a specified duration, maintaining privacy and reducing server load.
    • Delete Expired Conversations: This option automatically deletes conversations when a visitor’s session cookie expires. Like the Visitor Session Expiry Time, this setting only makes sense when Visitor Chat is enabled. It helps manage storage efficiently by removing expired conversations, ensuring your database remains optimized.

    For More Detailed Information Refer to This Article : Buddybot Settings Submenu : A comprehensive Guide 

    Click On save Option Button to Save Your Setting . Refer to Below Screenshot For Reference

    Step 2: AI Training

    Click on the ‘AI Training’ submenu under ‘BuddyBot’. Here, you can sync posts and comments to train the BuddyBot based on your site’s content.

    • Syncing Data: Click the sync button (as shown in the screenshot Below) next to each data type (‘Posts’ and ‘Comments’) to train the BuddyBot. This action allows BuddyBot to learn from your site’s content and provide more relevant and accurate responses. Refer to this AI training for BuddyBot : Unlocking Intelligent Conversations With Your Site Data for detailed instructions on how syncing works and best practices for training your BuddyBot.

    Step 3: Manage BuddyBots

    Click on the ‘BuddyBot’ submenu from the ‘BuddyBot’ menu. Here, you can view all the BuddyBot you’ve created, along with detailed information such as their names, the models they use, and their corresponding shortcodes.

    • BuddyBot Overview: This screen (refer to the screenshot below) displays a list of your existing BuddyBot, their associated models, and unique shortcodes.
    • Shortcodes: Each BuddyBot has a unique shortcode. This shortcode is used to embed a particular BuddyBot on a specific page or post. Refer to this How to Display Open AI Assistants in WordPress Dashboard for detailed information on how to use shortcodes effectively
    • Add New BuddyBot: To create a new BuddyBot, click the ‘Add New’ button. Refer to this How to create open ai assistant in wordpress dashboard for detailed instructions on creating and configuring a new BuddyBot.

    Advantages of Multiple BuddyBot:
    Using multiple BuddyBot allows you to tailor different BuddyBot for specific tasks, audiences, or sections of your website. For example, you might have one BuddyBot trained for customer support, another for product recommendations, and a third for internal documentation. This ensures each bot delivers focused, context-aware responses—improving overall user experience and operational efficiency.

    Step 4: Test Area (Optional)

    Click on the ‘Test Area’ submenu under ‘BuddyBot’. This area allows you to preview and test the behavior of your BuddyBot as it would appear on the front end.

    • Preview BuddyBot: Use the test area (refer to the screenshot below) to check how BuddyBot responds and behaves. It’s a useful tool for ensuring your BuddyBot is functioning as expected before it goes live.
    • Testing Responses: You can type questions or messages in the input field to preview BuddyBot’s responses.

    Refer to this article for details. :- Test Area Submenu For BuddyBot

    Step 5: Conversations

    Click on the ‘Conversation’ submenu under ‘BuddyBot.’ Here, you can view the conversations users have had with BuddyBot, including your own conversations in the test area.

    • Reviewing Conversations: This section (refer to the screenshot Below ) allows you to monitor and review all interactions between users and BuddyBot.
    • Analyzing Interactions: You can view conversation logs, analyze user queries, and assess the quality of BuddyBot’s responses.

    Refer to this Article For Detailed Info – Conversations Submenu For BuddyBot

    Publishing BuddyBot on the Frontend Using Shortcodes

    You can use shortcodes to publish a specific BuddyBot on any page or post. Here’s how:

    1. Locate the Shortcode:
      Each BuddyBot has a unique shortcode, which can be found on the BuddyBot submenu (refer to the 1st screenshot provided below).
    2. Copy the Shortcode:
      Copy the shortcode for the desired BuddyBot (e.g.,  ['buddybot_chat id=10']).
    3. Paste in a “Shortcode” Block:
      When using the block editor, paste the copied shortcode into a “Shortcode” block. Place this block in the content area of any WordPress page or post where you want the chatbot to appear (refer to the 2nd screenshot).
    4. Publish the Page:
      Save or publish the page. BuddyBot will now be live and visible on your site (refer to the 3rd screenshot for visual reference).

    Previewing BuddyBot

    Once published, BuddyBot will look like this (refer to the third screenshot provided). Visitors or logged-in users can interact with it based on your settings.

    By following this guide, users can easily publish and display their configured BuddyBots on their WordPress site using shortcodes


    Conclusion

    Congratulations! You’ve successfully completed the BuddyBot Starter Guide. By following these steps, you are now equipped to leverage the power of BuddyBot to enhance user engagement and streamline interactions on your platform. Remember to consult the linked articles for in-depth insights and advanced customization techniques to optimize BuddyBot’s performance and tailor it to your specific needs. We encourage you to explore the full potential of BuddyBot and discover how it can transform your user experience.

  • BuddyBot FAQ Manager Extension Documentation

    Overview

    The BuddyBot FAQ Manager extension enhances user interactions by allowing admins to generate, manage, and display frequently asked questions (FAQs) within the BuddyBot chat window. This feature streamlines user support by providing instant access to relevant FAQs, reducing repetitive queries and improving response efficiency.

    Why It’s Useful

    • Improves user experience by displaying quick answers to common questions.
    • Reduces workload for support teams by handling frequent inquiries.
    • Provides customization by letting admins generate, reorder, and select FAQs based on their needs.
    • Enhances flexibility by allowing FAQs to be linked to different BuddyBot implementations.

    1 Key Features

    1. Generate FAQs: Automatically generate FAQs from AI Training Knowledgebase data, allowing admins to review and select relevant ones.
    2. Manage Custom FAQs: Add, edit, and delete custom FAQs for additional flexibility.
    3. Reorder FAQs: Easily rearrange FAQs, with changes reflected in both the test area and frontend display.
    4. Select BuddyBot Source: Choose a specific BuddyBot implementation to generate and display FAQs accordingly.
    5. Preview FAQs: View selected FAQs in a dedicated test area before finalizing them for users.
    6. Seamless Integration: FAQs appear at the top of the BuddyBot chat window, ensuring quick access and interactive responses.

    This extension provides admins with full control over FAQ content, ensuring users receive accurate and relevant answers efficiently.

    2. Installation & Activation

    The BuddyBot FAQ Manager extension must be installed and activated before it can be used. This section explains how to install and activate the plugin from the WordPress dashboard.

    Steps to Install & Activate the Plugin

    1. Navigate to the Plugins Page
      • In the WordPress Admin Panel, go to Plugins > Installed Plugins to view all available plugins.
    2. Find the BuddyBot FAQ Manager Plugin
      • Locate BuddyBot FAQ Manager in the list of installed plugins.
      • If the plugin is not installed, you may need to download and upload it via Plugins > Add New.
    3. Activate the Plugin
      • Click on the “Activate” link under the plugin name to enable it.
      • Once activated, the plugin will be ready for use, and you will see additional options related to its settings.
    4. Verify Activation
      • Once activated, the plugin will move to the list of active plugins.
      • You may now proceed to configure the plugin and start managing FAQs.

    The screenshot above shows the Installed Plugins page in WordPress. The BuddyBot FAQ Manager plugin is listed but currently inactive. The red arrow points to the “Activate” option, which needs to be clicked to enable the plugin.

    3. Accessing the FAQ Generation Page

    To generate FAQs, you need to navigate to the FAQs Manager section in the WordPress admin panel.

    Steps to Access the FAQ Generation Page:

    1. Go to the BuddyBot Menu
      • In the WordPress admin panel, locate and click on BuddyBot in the left sidebar.
    2. Click on “FAQs Manager”
      • A submenu item labeled “FAQs Manager” will appear under BuddyBot.
      • Click on “FAQs Manager” to access the FAQ generation page.

    Once clicked, you will be taken to the FAQ generation interface, where you can create, manage, and preview FAQs for the selected BuddyBot.

    4. Generating Faq And Selecting a BuddyBot and Adding an FAQ

    After accessing the FAQs Manager page, you can select the BuddyBot for which you want to create FAQs.

    Steps to Select BuddyBot and Add FAQ:

    1. Choose a BuddyBot:
      • Use the dropdown menu labeled “Select BuddyBot” to pick the BuddyBot for which you want to generate FAQs.
      • This ensures that the FAQs are linked to the correct BuddyBot.
    2. Click on “Add FAQ” Button:
      • Once the appropriate BuddyBot is selected, click on the “Add FAQ” button.
      • This will take you to the next step, where you can generate and manage FAQs for the selected assistant.

    5. Generating FAQs

    After selecting the BuddyBot , you can define the number of FAQs you want to generate.

    Steps to Generate FAQs:

    1. Enter the Number of FAQs:
      • A popup appears titled “Generate FAQ.”
      • There is a field labeled “Number of FAQs to Generate.”
      • Enter the desired number of FAQs (e.g., 5).
    2. Click on “Generate” Button:
      • Once the number is entered, click the blue “Generate” button.
      • The FAQ generation process will begin.

    6. Selecting and Inserting FAQs

    Once the FAQs are generated, the user can select which ones to display on the front end.

    Steps to Select and Insert FAQs:

    1. Choose the FAQs:
      • A list of generated FAQs appears in a popup.
      • Each FAQ has a checkbox next to it.
      • The user can check the boxes for the FAQs they want to include.
    2. Click “Insert FAQs”:
      • Once selected, click the blue “Insert FAQs” button.
      • The FAQs will be added to the assistant for front-end display.
    3. Preview in the Test Area:
      • Users can preview how the FAQs will appear in the Test Area.

    7. Reordering FAQs

    Once FAQs are selected, admins can easily rearrange them to determine the order in which they appear on the frontend. This ensures that the most relevant or frequently asked questions are displayed first.

    Steps to Reorder FAQs:

    1. Locate the Reorder Handle:
      • Each FAQ entry has a drag-and-drop handle on the left side (represented by a dotted icon).
    2. Drag to Reorder:
      • Click and hold the drag handle.
      • Move the FAQ up or down to change its position in the list.
      • Release the mouse button to place it in the desired order.
    3. Preview Changes in Test Area:
      • After reordering, admins can preview how the FAQs will appear in the test area before finalizing them for users.

    This feature ensures flexibility, allowing admins to structure FAQ responses in a way that improves clarity and user experience.

    8. Editing and Deleting FAQs

    Admins have the flexibility to modify or remove FAQs based on their needs. This ensures that the BuddyBot always provides the most relevant and updated information.

    Editing and Deleting an FAQ

    1. Locate the FAQ Entry:
      • Each FAQ in the list displays two action buttons:
        • Edit Button (pencil icon) – to modify the FAQ.
        • Delete Button (trash icon) – to remove the FAQ.

    Editing an FAQ

    1. Click on the Edit Button:
      • Click on the pencil icon next to the FAQ you want to modify.
    2. Edit the FAQ in the Modal Window:
      • An edit modal will appear, allowing you to update the question.
    3. Save Changes:
      • Click the “Save” button to confirm the changes.
      • The updated FAQ will now appear in the list.

    This functionality ensures that FAQs remain accurate and relevant, enhancing user experience.

    9. Previewing FAQs in the Test Area

    The BuddyBot FAQ Manager allows admins to preview FAQs in the test area before finalizing them. This ensures that users receive the correct responses based on the selected BuddyBot

    How to Preview FAQs in the Test Area:

    1. Select a BuddyBot:
      • Use the “Assistant” dropdown to choose the BuddyBot.
      • The FAQs displayed will update to show only those linked to the selected assistant.
    2. Click on a FAQ to Test:
      • In the test area, clicking on an FAQ automatically sends it as a prompt to the assistant.
      • The BuddyBot will then generate and display a response based on the selected FAQ.
    3. Switching Assistants Updates FAQs:
      • If a different BuddyBot is selected, the FAQs will update accordingly.
      • This helps admins ensure that each BuddyBot has the correct set of FAQs.

    This feature allows admins to verify FAQ responses before making them live, ensuring accuracy and relevance for end-users.

    10. Displaying FAQs on the Frontend

    On the frontend, the BuddyBot FAQ Manager ensures that only the FAQs affiliated with the selected BuddyBot are displayed. This provides users with relevant FAQs based on the BuddyBot used on the page.

    How FAQs Work on the Frontend:

    1. BuddyBot-Specific FAQs:
      • Each page with a BuddyBot implementation will only show FAQs linked to that specific assistant.
      • If different BuddyBot are used on different pages, their respective FAQs will be displayed accordingly.
    2. Clicking an FAQ Sends It as a Prompt:
      • When a user clicks on an FAQ, it is directly sent as a prompt in the chat window.
      • The BuddyBot will then generate a response based on the selected FAQ.
    3. Seamless User Experience:
      • This feature enhances interactivity by allowing users to get instant responses.
      • It eliminates the need for users to manually type common questions, improving efficiency.

    This ensures that users receive context-specific and accurate responses, improving engagement and support efficiency.

    Conclusion

    The BuddyBot FAQ Manager extension enhances BuddyBot functionality by providing a streamlined way to manage and display FAQs. Admins can generate, edit, delete, reorder, and preview FAQs to ensure users receive quick and relevant answers. The seamless integration allows FAQs to be dynamically linked to different BuddyBot, ensuring that only the appropriate FAQs are displayed on both the backend and frontend.

    By allowing users to click FAQs to send them as prompts, this feature improves BuddyBot interaction and reduces repetitive queries, making support more efficient. Whether used for customer support, AI training, or general inquiries, the FAQ Manager helps optimize user experience.

    For any further assistance or related queries, feel free to contact us here:
    BuddyBot AI – Custom AI Assistant and Chat Agent