Create an AI assistant

1. Create AI

Go to the left function menu "AI Features” under “AI”, click the “+Create AI".

2. Name your AI

Select the “Basic Settings” tab, in the “AI Name” field, enter the AI’s name. You can name it based on the AI’s main task, e.g., XX AI Customer Service, XX Regulations Query Helper, XX Project Intelligent Assistant.

One account can create multiple AIs (the quantity is limited by the purchased plan)

3. Choose RAG to make the AI smarter and answers more precise

What is RAG

You can think of RAG as a combination of “a chat-savvy assistant + a librarian who’s great at research.”

A typical AI is like someone with excellent memory and storytelling skills, but can only tell what it learned before. When the AI is paired with RAG, it’s as if before answering, itfirst goes to the library to find the latest informationand then organizes what it finds into its own words and replies clearly to you.

On the MaiAgent platform, this “library” is our Knowledge. The AI will use RAG to retrieve relevant data from the knowledge base, making answers more accurate, timely, and aligned with needs.

The setup for the knowledge base will be explained in detail in the next section.

In addition to the RAG technology mentioned at the OpenAI developer conference, MaiAgent RAG also integrates various classic NLP algorithms and proprietary retrieval techniques. Comparing the accuracy of responses using internal datasets versus OpenAI RAG, both achieve 95% response precision.

RAG setup

Select the “RAG Settings” tab, in the “RAG” dropdown menu, choose different RAG (Retrieval-Augmented Generation). If there are no special requirements,the default is MaiAgent RAG.

4. Choose a model to pick a smart brain for your AI!

Purpose of selecting a language model

An AI’s performance largely depends on its brain—the language model (LLM) it uses. In this step, you can choose different models according to your needs. Response speed, comprehension, depth, and naturalness of answers will all be affected.

Choosing the right model is like turning on efficiency mode for your AI, tailoring the best experience for your use case!

Language model setup

Select the “RAG Settings” tab, in the “LLM model” dropdown menu, you can pick different large language models. If there are no special requirements,the default is Claude 3.7 Sonnet.

5. Create role instructions for your scenarios

To better fit different application needs, you can set “role instructions” so the AI’s style and content align with the scenario.

Hallucination-free generative AI response mechanism

MaiAgent’s “hallucination-free generative AI response mechanism” ensures high accuracy when the AI answers questions. When faced with uncertain or out-of-scope questions, it will candidly state its limitations rather than fabricate answers, providing users with a more reliable and trustworthy AI interaction experience. Its importance for industries and the public sector is as follows:

Financial services:

When handling investment advice and risk assessment, AI must base analyses on accurate data to avoid misinformation leading to wrong investment decisions. When information is insufficient or uncertain, the system clearly informs the user, ensuring reliability of decisions.

Healthcare:

When assisting with medical diagnosis or drug consultation, AI must strictly follow established medical knowledge and must not fabricate suggestions that could mislead patients. For novel or unverified medical information, the system will clearly indicate the need for further professional consultation.

Manufacturing:

In applications such as production process optimization and quality control, AI must provide recommendations based on actual production data and validated methods to avoid losses caused by inaccurate predictions.

Education:

When assisting teaching and answering students’ questions, AI needs to provide accurate knowledge rather than misinformation that could mislead learning. For complex or ambiguous concepts, the system will be upfront about its understanding limits.

Legal:

When providing legal information and advice, AI must rely on current laws and precedents, not speculative suggestions that may pose legal risks. The system will clearly highlight matters requiring confirmation by a professional lawyer.

Customer support:

When handling customer inquiries, AI must provide accurate product and service information. For uncertain issues, it will immediately refer to relevant professionals to avoid misleading customers.

Choose the appropriate answer mode and create instructions

Select “Answer Mode” tab. From free-form conversation to highly structured responses, meet various business needs. Each mode has its own characteristics and scope. Choose flexibly based on actual usage scenarios.

Applicable scenarios

Answer freely based on the question. The AI will use context and knowledge base content to generate the most suitable response. Suitable for most Q&A situations.

Operation flow

Select the “Answer mode settings” tab, choose the answer mode “General (default)”, in the “Role instructions” field, enter the role instructions you set for this AI. For output format, you can choose plain text or JSON.

Use case: Website customer service assistant

If you want to create a website customer service assistant for “MaiAgent - AI Development Platform,” you can enter the AI’s response settings in the “Role Instructions” field to clearly define its response style and scope of duties.

6. Pre-assign assistant permissions

Permission management architecture and explanation based on RABC

Select the “Permissions” tab, you can configure which members are pre-assigned access to the assistant. The default is to select all roles. You can modify settings based on your use case.

7. Finish creating your AI

After completing the above steps, click the blue “Confirm” button at the bottom right of the dialog to finish the setup 🎉.

Last updated

Was this helpful?