Submit pre-defined results
How to submit outputs you already have without running any agent during evaluation.
Submit outputs you already have without running any agent during evaluation:
from agentx.evaluations.adapters.precomputed import PrecomputedAdapter
outputs = {
0: "To reset your password, go to Login → Forgot Password.",
1: "We accept Visa, Mastercard, PayPal, and bank transfers.",
}
adapter = PrecomputedAdapter(outputs)
report = (
client.evaluations
.run(dataset_id="...", subject={"kind": "custom_agent", "displayName": "n8n Batch", "framework": "n8n", "runtime": "low_code"})
.execute(adapter)
.finalize()
.analyze()
)Full example: csv_import_eval
Updated about 8 hours ago
