@kortexya/reasoninglayer 7.1.0 → 7.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 +18 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +131 -59
- package/dist/index.d.ts +131 -59
- package/dist/index.js +18 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@ var __export = (target, all) => {
|
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
// src/config.ts
|
|
10
|
-
var SDK_VERSION = "7.
|
|
10
|
+
var SDK_VERSION = "7.2.0";
|
|
11
11
|
function resolveConfig(config) {
|
|
12
12
|
if (!config.baseUrl) {
|
|
13
13
|
throw new Error("ClientConfig.baseUrl is required");
|
|
@@ -17892,7 +17892,8 @@ function FeatureDescriptorDtoFromApiToFront(dto) {
|
|
|
17892
17892
|
minCount: dto.min_count ?? void 0,
|
|
17893
17893
|
maxCount: dto.max_count ?? void 0,
|
|
17894
17894
|
cardinalityOrigin: dto.cardinality_origin ?? void 0,
|
|
17895
|
-
annotations: definedRecord2(dto.annotations)
|
|
17895
|
+
annotations: definedRecord2(dto.annotations),
|
|
17896
|
+
rangeConjunction: dto.range_conjunction
|
|
17896
17897
|
};
|
|
17897
17898
|
}
|
|
17898
17899
|
function FeatureDescriptorDtoFromFrontToApi(model) {
|
|
@@ -21447,7 +21448,8 @@ var RESPONSE_COMPONENTS = {
|
|
|
21447
21448
|
relations_integrated: [1, 0],
|
|
21448
21449
|
sort_names: [1, { array: 0 }],
|
|
21449
21450
|
term_ids: [1, { array: 0 }],
|
|
21450
|
-
total_tokens: [1, 0]
|
|
21451
|
+
total_tokens: [1, 0],
|
|
21452
|
+
work_cache: [2, "IngestionWorkCacheDto"]
|
|
21451
21453
|
}
|
|
21452
21454
|
},
|
|
21453
21455
|
DocumentStatusCounts: {
|
|
@@ -22071,6 +22073,7 @@ var RESPONSE_COMPONENTS = {
|
|
|
22071
22073
|
object: {
|
|
22072
22074
|
annotations: [0, { object: {} }],
|
|
22073
22075
|
name: [1, 0],
|
|
22076
|
+
range_conjunction: [0, { array: 0 }],
|
|
22074
22077
|
declared_by: [1, { array: 0 }],
|
|
22075
22078
|
signature: [1, 0]
|
|
22076
22079
|
}
|
|
@@ -22178,7 +22181,13 @@ var RESPONSE_COMPONENTS = {
|
|
|
22178
22181
|
},
|
|
22179
22182
|
FeatureBindingDto: { object: { name: [1, 0], value: [1, 0] } },
|
|
22180
22183
|
FeatureChangeDto: { object: { feature: [1, 0] } },
|
|
22181
|
-
FeatureDescriptorDto: {
|
|
22184
|
+
FeatureDescriptorDto: {
|
|
22185
|
+
object: {
|
|
22186
|
+
annotations: [0, { object: {} }],
|
|
22187
|
+
name: [1, 0],
|
|
22188
|
+
range_conjunction: [0, { array: 0 }]
|
|
22189
|
+
}
|
|
22190
|
+
},
|
|
22182
22191
|
FeatureDiff: { object: { change: [1, 0], feature: [1, 0] } },
|
|
22183
22192
|
FeatureFilterDto: { object: { name: [1, 0], value: [1, 0] } },
|
|
22184
22193
|
FeatureMismatchDto: {
|
|
@@ -42730,7 +42739,8 @@ function DocumentStatsDtoFromApiToFront(dto) {
|
|
|
42730
42739
|
sortNames: dto.sort_names,
|
|
42731
42740
|
termIds: dto.term_ids,
|
|
42732
42741
|
totalTokens: dto.total_tokens,
|
|
42733
|
-
fcaDiscovery: dto.fca_discovery ? FcaIngestionReportFromApiToFront(dto.fca_discovery) : void 0
|
|
42742
|
+
fcaDiscovery: dto.fca_discovery ? FcaIngestionReportFromApiToFront(dto.fca_discovery) : void 0,
|
|
42743
|
+
workCache: dto.work_cache ? IngestionWorkCacheDtoFromApiToFront(dto.work_cache) : void 0
|
|
42734
42744
|
};
|
|
42735
42745
|
}
|
|
42736
42746
|
function SessionStatsResponseFromApiToFront(dto) {
|
|
@@ -51255,8 +51265,7 @@ var AnalysisClient = class {
|
|
|
51255
51265
|
* the first question, and the search report.
|
|
51256
51266
|
* @throws {ForbiddenError} 403 with code `exploration_actor_required` when
|
|
51257
51267
|
* the request carries no gateway human actor (`authenticatedUser`).
|
|
51258
|
-
* @throws {BadRequestError} 400 for an unknown sort name,
|
|
51259
|
-
* population bound (`exploration_population_limit`), native-predicate
|
|
51268
|
+
* @throws {BadRequestError} 400 for an unknown sort name, native-predicate
|
|
51260
51269
|
* semantics, or a scaled interpretation that is not complete.
|
|
51261
51270
|
*
|
|
51262
51271
|
* @remarks
|
|
@@ -51391,8 +51400,8 @@ var AnalysisClient = class {
|
|
|
51391
51400
|
*
|
|
51392
51401
|
* @param sessionId - Exploration session ID.
|
|
51393
51402
|
* @param request - The bounds of this search step (`maxWork`,
|
|
51394
|
-
* `maxCandidates`, `searchTimeoutMs`);
|
|
51395
|
-
*
|
|
51403
|
+
* `maxCandidates`, `searchTimeoutMs`); an omitted or `null` bound is
|
|
51404
|
+
* unbounded.
|
|
51396
51405
|
* @param requestOptions - Per-call request options.
|
|
51397
51406
|
* @returns The next question (absent when the search stopped again or was
|
|
51398
51407
|
* exhausted), the progress, and the search report.
|