Evaluation Overview

The evaluation framework offers a prescriptive guide for setting up EvalGuard, assessing its efficacy and detection rates, measuring latency, and integrating it into various real-world use cases.

While tailored for EvalGuard, this framework can be adapted as a general template for standardized detection system evaluation. It enables you to answer three key questions:

  1. How good are EvalGuard's detection capabilities?

EvalGuard recommends using a Confusion Matrix for a standardized classification evaluation baseline.

  1. How performant is EvalGuard?

The EvalGuard API is optimized for speed, delivering exceptionally low latency to minimize impact on user experience. EvalGuard advises collecting baseline latency metrics prior to integration.

  1. How easy is EvalGuard to integrate?

Recognizing the diverse and rapidly evolving use cases for GenAI and Agentic, EvalGuard integrates seamlessly into any architecture and deployment strategy.

Understanding the Basics

API Endpoints

EvalGuard can be integrated via a single API point:

https://app.evalguard.io/prod-api/v1/guard

Request and Response

The EvalGuard API features predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and employs standard HTTP response codes, and verbs.

Example cURL request to the EvalGuard API.

Screening response

The EvalGuard API returns JSON-encoded responses with a boolean flag that is true if any of the backend detectors have detected a threat with sufficient confidence.

Based on the flagging response, you can customize action flows, such as blocking inputs from entering a model or outputs from being returned to a user.

Example response from the EvalGuard API.

Updates

SaaS API

EvalGuard undergoes continuous training with new data, ensuring that all SaaS customers receive automatic updates every 24 to 48 hours. This frequent updating maintains the highest level of detection accuracy and protection.

Self-Hosted Container

For customers using the self-hosted option, EvalGuard provides a stable container update approximately every two weeks. These updates ensure that self-hosted deployments benefit from the latest advancements and improvements in the model's capabilities.

Last updated