Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

Update laya-ts/src/structured.ts

Ang Zhange7d8bfba3f1c
diff --git a/laya-ts/src/structured.ts b/laya-ts/src/structured.ts
index 6b027ba8..f34769fb 100644
--- a/laya-ts/src/structured.ts
+++ b/laya-ts/src/structured.ts
@@ -100,6 +100,8 @@ export interface DecideBatchOptions {
returnDetails?: boolean;
/** Minimum confidence threshold in [0.0, 1.0]. Low confidence answers project to null. */
minConfidence?: number | null;
+ /** Python-parity alias for minConfidence. */
+ min_confidence?: number | null;
/** Batch size forwarded to runner.predictBatch. */
batchSize?: number | null;
/** Anything else is forwarded to runner.predictBatch (hooks, model, ...). */