For the complete documentation index, see llms.txt. This page is also available as Markdown.

Vertex AI Agent Builder

Integrate Scorable evaluations with Google Cloud's Vertex AI Agent Builder to monitor and improve your conversational AI agents in real-time.

Architecture Overview

[Vertex AI Agent Builder]
     |
     |—→ [Webhook call (to Cloud Function / Cloud Run)]
                  |
                  |—→ [Scorable API]
                  |
                  |—→ [Evaluate response]
                  |
           [Log result / augment reply]
                  |
     ←——————— Reply to Agent Builder user

🔧 Step-by-Step Integration

1. Set up a webhook in Vertex AI Agent Builder

  • Go to "Manage Fulfillment" in the Agent Builder UI.

  • Create a webhook (can be a Cloud Function, Cloud Run, or any HTTP endpoint).

  • This webhook will receive request and response pairs from user interactions.


2. Create a middleware endpoint (Cloud Function or Cloud Run)

This endpoint will:

  • Receive user input and the LLM response.

  • Construct an evaluator call to Scorable API.

  • Send the result back as part of the webhook response (optional).

Option 1: Using Built-in Evaluators

Option 2: Using Custom Judges


3. Configure evaluators and judges

Built-in Evaluators:

  • Use evaluators like Relevance, Precision, Completeness, Clarity, etc.

  • Get available evaluators by logging in to https://scorable.ai/

  • Examples: Relevance, Truthfulness, Safety, Professional Writing

Custom Judges:

  • Create custom judges that combine multiple evaluators - use https://scorable.ai/ to generate a judge.

  • Judges provide aggregated scoring across multiple criteria

Last updated