orchestrated 0.1.20 → 0.1.22
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 +5 -1
- package/index.js.map +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -207922,6 +207922,10 @@ 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
|
+
scorerArgs.maxTokens = 512 * 4;
|
|
207928
|
+
}
|
|
207925
207929
|
const fieldsToExclude = new Set(["state", "ctx", "tags", "id", "client"]);
|
|
207926
207930
|
const argsForStorage = Object.fromEntries(Object.entries(scorerArgs).filter(([key]) => !fieldsToExclude.has(key)));
|
|
207927
207931
|
const { scorerFailAsZero, verbose } = options;
|
|
@@ -208677,4 +208681,4 @@ export {
|
|
|
208677
208681
|
Behavioral
|
|
208678
208682
|
};
|
|
208679
208683
|
|
|
208680
|
-
//# debugId=
|
|
208684
|
+
//# debugId=66737502ED527B4F64756E2164756E21
|