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
requestandresponsepairs 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