Start Building—Using the Query Builder
Configure Query Metadata by selecting options in the backend Query Builder, covering contact-level and per-message settings for internal Q&A
The Query Builder provides a graphical way to configure Query Metadata: use checkboxes instead of JSON, making it suitable for manual management in the backend. Its two entry points correspond to the two levels described on the overview page:
Edit Contact → Configure the knowledge scope for all conversations with that user (contact level)
Internal Q&A → Select the knowledge scope before sending each message (message level)
Contact-Level Settings
Step 1: Open the Contacts Area in the Backend

Step 2: Edit a Contact and Open the Query Builder
Find the contact you want to configure and click Edit:

On the edit screen, click Query Builder to open the graphical interface:

Step 3: Select the Scope to Allow
Select the knowledge bases to allow. Expand a knowledge base to select only some of its documents:

To filter by label, click Show Label Filters to expand the label condition settings:

Combine label conditions with OR (match any label) or AND (match all labels) to further filter documents within the selected knowledge bases. This has the same semantics as label_relations in the JSON format.
Internal Q&A: Per-Message Settings
When members use Internal Q&A, they can select the knowledge scope that each message may reference from the menu on the right side of the interface (that is, message-level Query Metadata):

You can also use Show Label Filters to configure label conditions.
Demonstration
When the CV, SOP, and survey files are selected, the AI can reference all three:


Before sending the next message, clear the CV checkbox:

The AI can no longer use the CV file, and the reference list no longer displays the CV:

Last updated
Was this helpful?