orchestrated 0.1.20 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -1
- package/index.js.map +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -207922,6 +207922,9 @@ async function evaluateDataCase(dataCase, evaluator, _ctx, options) {
|
|
|
207922
207922
|
id: caseId,
|
|
207923
207923
|
client: client2
|
|
207924
207924
|
};
|
|
207925
|
+
if (options.execute === "sync" && (options.batchProcessor === "BEDROCK_OPENAI" || options.batchProcessor === "BEDROCK")) {
|
|
207926
|
+
scorerArgs.model = _ctx.state.bedrockModelId;
|
|
207927
|
+
}
|
|
207925
207928
|
const fieldsToExclude = new Set(["state", "ctx", "tags", "id", "client"]);
|
|
207926
207929
|
const argsForStorage = Object.fromEntries(Object.entries(scorerArgs).filter(([key]) => !fieldsToExclude.has(key)));
|
|
207927
207930
|
const { scorerFailAsZero, verbose } = options;
|
|
@@ -208677,4 +208680,4 @@ export {
|
|
|
208677
208680
|
Behavioral
|
|
208678
208681
|
};
|
|
208679
208682
|
|
|
208680
|
-
//# debugId=
|
|
208683
|
+
//# debugId=AD205A8029985CD264756E2164756E21
|