Getting Started - Using Query Builder
MaiAgent provides a graphical way to construct Query Metadata
Contact Query Metadata Configuration
You can use the "Query Builder" in MaiAgent service to create QueryMetadata graphically. Here's an example of creating Contact Query Metadata:
Step 1: Access the Contacts Area in MaiAgent Backend Service

Step 2: Configure Settings for the Desired Contact
Find the contact you want to configure and click edit

The following screen will appear after clicking

Click directly on Query Builder to enter the graphical interface
Step 3: Select Desired Permissions
Select the knowledge bases you want to grant access to, and optionally select specific documents within those knowledge bases

If you want to grant access to documents with specific tags, click "Show Tag Filter" to open the tag settings area

You can choose the conditions you want to create, selecting either "OR"
(matches any condition) or "AND"
(matches all conditions) as the access criteria for documents in the enabled knowledge bases
Message Settings
You can also use the right-side menu shown below to select the knowledge permissions to grant:

You can also use "Show Tag Filter" to set tag filtering conditions


Currently able to reference three files: CV, SOP, and Survey
After unchecking CV in the next message and sending again:

The Agent can no longer use the CV file, and the reference library no longer shows CV references:

Permissions can be adjusted before sending each message, affecting what content can be referenced in that round of responses.
Last updated
Was this helpful?