AI Hub

AI Hub

UChat has introduced its powerful AI Agents feature, making it easier than ever to build AI-enabled chatbots without the complexity of handling chat completions and AI assistants manually.

With AI Agents, users can now create advanced, conversational AI bots that seamlessly integrate with OpenAI (and all other popular GenAI platforms), execute tasks independently, and provide dynamic, human-like interactions—all with minimal effort.

Whether for customer support, lead generation, or workflow automation, UChat’s AI Agents remove the barriers to AI-powered chatbot development, simplifying the process for businesses and developers alike

Template appointment booking AI agent created during the workshop recording can be found here.

Accessing AI Agents and AI Functions

Inside your bot, click on “AI Hub” from the left toolbar to access AI agents and functions.

Creating AI Agent

Click on “+ AI Agent” to create a new AI Agent.

Name & Description:

 

In this section you will have to enter the name and description of the AI agent. The description will be a brief text that provides enough context on what will be the function of the AI Agent going to be.

Sample Description: This agent is in charge of scheduling appointments with users. The agent needs first to capture the user details which are first name, last name and email. In the next the agent needs to fetch available timeslots and from there let the user choose among them. Once the date and time have been chosen the agent needs to book the appointment

Settings

 

In this section you will decide which model (and platform) you want to choose and what will be the various parameters that will be modifying the behaviour of the agent created.

Note: If your usecase requires the AI Agent to employ functions, then its always better to use higher models like gpt-4-turbo-preview as higher models are more stable and accurate when using functions.

UChat currently support OpenAI, Deepseek and Grok AI for creating agents. More model will be added soon. including Google Gemini, and Claude.

In this section you can also modifying the various parameters such as temperature value and no of repetitions to further modify the agent’s behaviour

The "Number of chat messages before auto summarize" feature helps manage long conversations by automatically condensing chat history after a set number of messages.

Once the conversation reaches the specified limit (e.g., 10, 50, or 100 messages), the system creates a concise summary of those interactions and reinserts it into the chat as a single entry.

This process preserves key details while significantly reducing character space usage, allowing for more efficient memory management. By summarizing past exchanges, the AI can retain important context without overwhelming the chat history, ensuring smoother interactions.

Additionally, users can customize the maximum token limit for summaries, with 500 tokens being sufficient for general text-based chats and 1,000 tokens recommended for complex tasks like appointment booking. This feature enhances AI performance, conversation clarity, and long-term engagement efficiency.

At the end you can also select the preferred output either in text or in JSON:

 

AI Agent Advanced Mode

When Advanced Mode is enabled, the AI agent does not reply to the user directly. Instead, it stores the response in the system field “Last AI Agent Reply”. You must select a workflow to process and handle the response before sending it to the user. 

Key Features

  • Response Formatting: Modify AI replies by breaking down long responses into multiple sections for better readability.

  • Media Integration: Add relevant media files (images, videos, or attachments) to enhance responses.

  • Workflow Automation: Process AI-generated content through custom workflows to improve message delivery and presentation.

Note: When Advanced Mode is enabled, the Auto Suggestions feature will be disabled.

Agent Prompt

In this section you will define the persona (or how you want the AI agent to behave) as well as its role (or any impersonation) you want it to adhere to.

Sample Role: The Appointment Booking Agent is responsible for scheduling appointments with users. This agent must capture user details, such as first name, last name, and email, fetch available timeslots, allow the user to select their preferred time, and finalize the appointment booking process. The tone should be professional and friendly, ensuring a smooth and positive user experience throughout the scheduling process.

In the skills section, you will have to define all the features you want your AI Agent to perform, whether it be collecting user info data or taking timeslots for appointment booking, everything needs to be defined here. In the skill section, you will also receive insight over which functions you will need to set for your objectives and goals.

Sample Skill:

## Skills

### Skill 1: User Detail Capture
- This skill needs to capture the user details which are: first name, last name and email.
- ONLY ask for details which are empty or unkown
- Once all the user details are successfully captured are you to proceed to fetch the available timeslots and proceed to the next skill.

### Skill 2: Timeslot Selection
- This skill needs to display the available timeslots to the user
- You are to display the available timeslots in a nice formatted overview
- First display the available dates
- Once the date has been chosen then you need to show the available times available for that date

### Skill 3: Appointment Booking
This skill needs to handle actual appointment booking
- Once the user has chosen the date and time you are to provide the user with the overview of the appointment details and ask them to confirm
- Once the user confirms the appointment details you are to save the chosen date and time in its original format as you received it when fetching the available timeslots
- once saved you will need to book the appointment
- When the appointment is booked you are to notify the user as such