scoreTurn
function scoreTurn( expect, response, toolsCalled, transitions, latencyMs, extractionSnapshot?): object[];Score a single turn against expectations.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
| { |
‐ |
|
|
|
‐ |
|
|
|
‐ |
|
|
|
‐ |
|
|
|
‐ |
|
|
|
— flow |
Returns
Section titled “Returns”object[]