@kortexya/reasoninglayer 8.1.0 → 8.2.0
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/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -1
- package/dist/index.d.ts +27 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -233,7 +233,7 @@ type JsonValue$1 = string | number | boolean | null | JsonValue$1[] | object;
|
|
|
233
233
|
* This is the single source of truth for the version constant.
|
|
234
234
|
* The `scripts/release.sh` script updates this value alongside `package.json`.
|
|
235
235
|
*/
|
|
236
|
-
declare const SDK_VERSION = "8.
|
|
236
|
+
declare const SDK_VERSION = "8.2.0";
|
|
237
237
|
/**
|
|
238
238
|
* Authentication mode for the SDK.
|
|
239
239
|
*
|
|
@@ -23407,6 +23407,13 @@ interface IngestionConfigDto$1 {
|
|
|
23407
23407
|
* Used for A/B comparison tests. Default: false.
|
|
23408
23408
|
*/
|
|
23409
23409
|
force_extraction_strategy?: boolean;
|
|
23410
|
+
/**
|
|
23411
|
+
* Issue every model call fresh: the engine's work cache is neither read
|
|
23412
|
+
* nor written for this request. Grounding, admission and document
|
|
23413
|
+
* provenance are unchanged; the calls are reported in
|
|
23414
|
+
* `work_cache.bypassed_model_calls`.
|
|
23415
|
+
*/
|
|
23416
|
+
fresh_work?: boolean;
|
|
23410
23417
|
/**
|
|
23411
23418
|
* NER confidence threshold (only used when extraction_strategy is "local_ner" or "hybrid")
|
|
23412
23419
|
* Entities below this threshold will be discarded (local_ner) or sent to LLM (hybrid)
|
|
@@ -23676,6 +23683,13 @@ interface IngestionStatsDto$1 {
|
|
|
23676
23683
|
* provenance still ran for their observations.
|
|
23677
23684
|
*/
|
|
23678
23685
|
interface IngestionWorkCacheDto$1 {
|
|
23686
|
+
/**
|
|
23687
|
+
* Of `model_calls`, calls issued fresh because the request set
|
|
23688
|
+
* `fresh_work`; the work cache was neither read nor written
|
|
23689
|
+
* @format int64
|
|
23690
|
+
* @min 0
|
|
23691
|
+
*/
|
|
23692
|
+
bypassed_model_calls?: number;
|
|
23679
23693
|
/**
|
|
23680
23694
|
* Provider calls this ingestion issued through the work cache
|
|
23681
23695
|
* @format int64
|
|
@@ -70883,6 +70897,12 @@ interface IngestionConfigDto {
|
|
|
70883
70897
|
rejectAnonymizedReferences?: boolean;
|
|
70884
70898
|
/** Skip fingerprint check (force re-ingestion). */
|
|
70885
70899
|
skipFingerprint?: boolean;
|
|
70900
|
+
/**
|
|
70901
|
+
* Issue every model call fresh: the engine's work cache is neither read nor
|
|
70902
|
+
* written for this request. Grounding, admission and document provenance are
|
|
70903
|
+
* unchanged; the calls are reported in `workCache.bypassedModelCalls`.
|
|
70904
|
+
*/
|
|
70905
|
+
freshWork?: boolean;
|
|
70886
70906
|
/** Skip automatic relation completion between extracted entities. */
|
|
70887
70907
|
skipRelationCompletion?: boolean;
|
|
70888
70908
|
}
|
|
@@ -71189,6 +71209,12 @@ interface IngestionWorkCacheDto {
|
|
|
71189
71209
|
reusedModelCalls: number;
|
|
71190
71210
|
/** Of `modelCalls`, calls that could not be cached (no immutable model identity, unrepresentable configuration or oversized input). */
|
|
71191
71211
|
unkeyedModelCalls: number;
|
|
71212
|
+
/**
|
|
71213
|
+
* Of `modelCalls`, calls issued fresh because the request set `freshWork`;
|
|
71214
|
+
* the work cache was neither read nor written. `0` from engines that predate
|
|
71215
|
+
* the option, which never bypass.
|
|
71216
|
+
*/
|
|
71217
|
+
bypassedModelCalls: number;
|
|
71192
71218
|
/**
|
|
71193
71219
|
* Token usage recorded by the original computations of the reused
|
|
71194
71220
|
* observations: an estimate of tokens avoided, not a measurement; never
|
package/dist/index.d.ts
CHANGED
|
@@ -233,7 +233,7 @@ type JsonValue$1 = string | number | boolean | null | JsonValue$1[] | object;
|
|
|
233
233
|
* This is the single source of truth for the version constant.
|
|
234
234
|
* The `scripts/release.sh` script updates this value alongside `package.json`.
|
|
235
235
|
*/
|
|
236
|
-
declare const SDK_VERSION = "8.
|
|
236
|
+
declare const SDK_VERSION = "8.2.0";
|
|
237
237
|
/**
|
|
238
238
|
* Authentication mode for the SDK.
|
|
239
239
|
*
|
|
@@ -23407,6 +23407,13 @@ interface IngestionConfigDto$1 {
|
|
|
23407
23407
|
* Used for A/B comparison tests. Default: false.
|
|
23408
23408
|
*/
|
|
23409
23409
|
force_extraction_strategy?: boolean;
|
|
23410
|
+
/**
|
|
23411
|
+
* Issue every model call fresh: the engine's work cache is neither read
|
|
23412
|
+
* nor written for this request. Grounding, admission and document
|
|
23413
|
+
* provenance are unchanged; the calls are reported in
|
|
23414
|
+
* `work_cache.bypassed_model_calls`.
|
|
23415
|
+
*/
|
|
23416
|
+
fresh_work?: boolean;
|
|
23410
23417
|
/**
|
|
23411
23418
|
* NER confidence threshold (only used when extraction_strategy is "local_ner" or "hybrid")
|
|
23412
23419
|
* Entities below this threshold will be discarded (local_ner) or sent to LLM (hybrid)
|
|
@@ -23676,6 +23683,13 @@ interface IngestionStatsDto$1 {
|
|
|
23676
23683
|
* provenance still ran for their observations.
|
|
23677
23684
|
*/
|
|
23678
23685
|
interface IngestionWorkCacheDto$1 {
|
|
23686
|
+
/**
|
|
23687
|
+
* Of `model_calls`, calls issued fresh because the request set
|
|
23688
|
+
* `fresh_work`; the work cache was neither read nor written
|
|
23689
|
+
* @format int64
|
|
23690
|
+
* @min 0
|
|
23691
|
+
*/
|
|
23692
|
+
bypassed_model_calls?: number;
|
|
23679
23693
|
/**
|
|
23680
23694
|
* Provider calls this ingestion issued through the work cache
|
|
23681
23695
|
* @format int64
|
|
@@ -70883,6 +70897,12 @@ interface IngestionConfigDto {
|
|
|
70883
70897
|
rejectAnonymizedReferences?: boolean;
|
|
70884
70898
|
/** Skip fingerprint check (force re-ingestion). */
|
|
70885
70899
|
skipFingerprint?: boolean;
|
|
70900
|
+
/**
|
|
70901
|
+
* Issue every model call fresh: the engine's work cache is neither read nor
|
|
70902
|
+
* written for this request. Grounding, admission and document provenance are
|
|
70903
|
+
* unchanged; the calls are reported in `workCache.bypassedModelCalls`.
|
|
70904
|
+
*/
|
|
70905
|
+
freshWork?: boolean;
|
|
70886
70906
|
/** Skip automatic relation completion between extracted entities. */
|
|
70887
70907
|
skipRelationCompletion?: boolean;
|
|
70888
70908
|
}
|
|
@@ -71189,6 +71209,12 @@ interface IngestionWorkCacheDto {
|
|
|
71189
71209
|
reusedModelCalls: number;
|
|
71190
71210
|
/** Of `modelCalls`, calls that could not be cached (no immutable model identity, unrepresentable configuration or oversized input). */
|
|
71191
71211
|
unkeyedModelCalls: number;
|
|
71212
|
+
/**
|
|
71213
|
+
* Of `modelCalls`, calls issued fresh because the request set `freshWork`;
|
|
71214
|
+
* the work cache was neither read nor written. `0` from engines that predate
|
|
71215
|
+
* the option, which never bypass.
|
|
71216
|
+
*/
|
|
71217
|
+
bypassedModelCalls: number;
|
|
71192
71218
|
/**
|
|
71193
71219
|
* Token usage recorded by the original computations of the reused
|
|
71194
71220
|
* observations: an estimate of tokens avoided, not a measurement; never
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var __export = (target, all) => {
|
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
// src/config.ts
|
|
8
|
-
var SDK_VERSION = "8.
|
|
8
|
+
var SDK_VERSION = "8.2.0";
|
|
9
9
|
function resolveConfig(config) {
|
|
10
10
|
if (!config.baseUrl) {
|
|
11
11
|
throw new Error("ClientConfig.baseUrl is required");
|
|
@@ -42190,6 +42190,7 @@ function IngestionConfigDtoFromFrontToApi(model) {
|
|
|
42190
42190
|
previous_document_id: model.previousDocumentId,
|
|
42191
42191
|
reject_anonymized_references: model.rejectAnonymizedReferences,
|
|
42192
42192
|
skip_fingerprint: model.skipFingerprint,
|
|
42193
|
+
fresh_work: model.freshWork,
|
|
42193
42194
|
skip_relation_completion: model.skipRelationCompletion
|
|
42194
42195
|
};
|
|
42195
42196
|
}
|
|
@@ -42280,6 +42281,7 @@ function IngestionWorkCacheDtoFromApiToFront(dto) {
|
|
|
42280
42281
|
modelCalls: dto.model_calls,
|
|
42281
42282
|
reusedModelCalls: dto.reused_model_calls,
|
|
42282
42283
|
unkeyedModelCalls: dto.unkeyed_model_calls,
|
|
42284
|
+
bypassedModelCalls: dto.bypassed_model_calls ?? 0,
|
|
42283
42285
|
reusedRecordedTokenUsage: TokenUsageDtoFromApiToFront(dto.reused_recorded_token_usage)
|
|
42284
42286
|
};
|
|
42285
42287
|
}
|