Back to Documentation
API & Integrations

Custom QI Template Authoring

Designing optimal match schemas to intercept violations and evaluate agent procedures.

Designing optimal match schemas to intercept violations and evaluate agent procedures. CXMind provides a highly accessible, freely composable logic evaluation and trigger module for Quality Inspection. It shatters the industry norm of blindly routing every analysis request through a "black box" gigantic LLM with terrible latency profiles.

Multi-Dimension Intelligent Dispatch Engine

To keep computation costs at absolute minimums while maximizing speed, we utilize a tri-layer, interweaving engine topology. This ensures that computational resources are precisely allocated based on task complexity.

Layer 1 Deterministic Matching

  • Best For: Mandatory compliance readouts, prohibited keyword detection, or static terminology checks (e.g., Legal Disclaimers).
  • Performance: Exhibits sub-microsecond latency and burns zero GPU compute overhead.
  • Technical Advantage: Using the Aho-Corasick algorithm, the system maintains constant scanning speeds regardless of the volume of keywords in the dictionary.

Layer 2 Edge Local Models (e.g., Llama 3 / DeepSeek)

  • Best For: Rapid, straightforward intent comprehension and polarity mapping (e.g., "Is the caller getting angry or frustrated?" or "Did the agent perform the standard greeting?").
  • Performance: High velocity, low cost. Deployed on local edge servers via vLLM or Ollama with response times typically under 200ms.
  • Technical Advantage: Provides semantic understanding while keeping sensitive voice data within the private network.
The Nuclear Option

Layer 3 Cloud Large LLMs (e.g., GPT-4o / Claude 3.5)

  • Best For: Invoked exclusively for highly obfuscated sales objections, complex context deduction, and analyzing deeply woven conversational manipulation tactics requiring massive context windows.
  • Performance: Highest cost and latency, used only for tasks requiring human-level cognitive depth.
  • Technical Advantage: Acts as the ultimate arbiter for "gray area" violations that deterministic or small-scale semantic models cannot resolve.

Template Logic & Scalable Execution

The CXMind template authoring environment allows for Hierarchical Triggering Logic:

1. Static Pre-filtering

The first layer instantly flags fatal compliance errors (e.g., PII leaks).

2. Semantic Evaluation

If no fatal errors are found, the second layer evaluates standard operating procedures (SOPs).

3. Expert-Level Escalation

The third layer is only awakened if the Confidence Score from Layer 2 falls below a specific threshold, ensuring that high-cost tokens are used only when absolutely necessary.

Need more help or have a specific architecture question?

Contact Engineering Support