phenoml 12.0.0 → 12.0.1
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/construe/types/ExtractRequestConfig.d.ts +18 -2
- package/dist/cjs/api/resources/construe/types/ExtractRequestConfig.js +9 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/construe/types/ExtractRequestConfig.d.mts +18 -2
- package/dist/esm/api/resources/construe/types/ExtractRequestConfig.mjs +9 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "phenoml",
|
|
46
|
-
"X-Fern-SDK-Version": "12.0.
|
|
47
|
-
"User-Agent": "phenoml/12.0.
|
|
46
|
+
"X-Fern-SDK-Version": "12.0.1",
|
|
47
|
+
"User-Agent": "phenoml/12.0.1",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -46,8 +46,16 @@ export interface ExtractRequestConfig {
|
|
|
46
46
|
min_context_relevance?: number | undefined;
|
|
47
47
|
/**
|
|
48
48
|
* How much effort to spend ensuring consistent results across repeated requests.
|
|
49
|
-
* Higher levels apply stricter filtering to remove borderline
|
|
49
|
+
* Higher levels apply stricter filtering to remove borderline results that may
|
|
50
50
|
* vary between calls, improving determinism at the cost of additional latency.
|
|
51
|
+
*
|
|
52
|
+
* When validation_method is set to a value other than "none", consistency is
|
|
53
|
+
* applied to the validation step: codes must be unanimously validated across
|
|
54
|
+
* multiple rounds to be included.
|
|
55
|
+
*
|
|
56
|
+
* When validation_method is "none" and min_context_relevance is set above 0,
|
|
57
|
+
* consistency is applied to the relevance ranking step instead: chunks must
|
|
58
|
+
* pass the relevance threshold in every round to be included.
|
|
51
59
|
*/
|
|
52
60
|
consistency_effort?: ExtractRequestConfig.ConsistencyEffort | undefined;
|
|
53
61
|
}
|
|
@@ -75,8 +83,16 @@ export declare namespace ExtractRequestConfig {
|
|
|
75
83
|
type ValidationMethod = (typeof ValidationMethod)[keyof typeof ValidationMethod];
|
|
76
84
|
/**
|
|
77
85
|
* How much effort to spend ensuring consistent results across repeated requests.
|
|
78
|
-
* Higher levels apply stricter filtering to remove borderline
|
|
86
|
+
* Higher levels apply stricter filtering to remove borderline results that may
|
|
79
87
|
* vary between calls, improving determinism at the cost of additional latency.
|
|
88
|
+
*
|
|
89
|
+
* When validation_method is set to a value other than "none", consistency is
|
|
90
|
+
* applied to the validation step: codes must be unanimously validated across
|
|
91
|
+
* multiple rounds to be included.
|
|
92
|
+
*
|
|
93
|
+
* When validation_method is "none" and min_context_relevance is set above 0,
|
|
94
|
+
* consistency is applied to the relevance ranking step instead: chunks must
|
|
95
|
+
* pass the relevance threshold in every round to be included.
|
|
80
96
|
*/
|
|
81
97
|
const ConsistencyEffort: {
|
|
82
98
|
readonly None: "none";
|
|
@@ -25,8 +25,16 @@ var ExtractRequestConfig;
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* How much effort to spend ensuring consistent results across repeated requests.
|
|
28
|
-
* Higher levels apply stricter filtering to remove borderline
|
|
28
|
+
* Higher levels apply stricter filtering to remove borderline results that may
|
|
29
29
|
* vary between calls, improving determinism at the cost of additional latency.
|
|
30
|
+
*
|
|
31
|
+
* When validation_method is set to a value other than "none", consistency is
|
|
32
|
+
* applied to the validation step: codes must be unanimously validated across
|
|
33
|
+
* multiple rounds to be included.
|
|
34
|
+
*
|
|
35
|
+
* When validation_method is "none" and min_context_relevance is set above 0,
|
|
36
|
+
* consistency is applied to the relevance ranking step instead: chunks must
|
|
37
|
+
* pass the relevance threshold in every round to be included.
|
|
30
38
|
*/
|
|
31
39
|
ExtractRequestConfig.ConsistencyEffort = {
|
|
32
40
|
None: "none",
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "12.0.
|
|
1
|
+
export declare const SDK_VERSION = "12.0.1";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "phenoml",
|
|
9
|
-
"X-Fern-SDK-Version": "12.0.
|
|
10
|
-
"User-Agent": "phenoml/12.0.
|
|
9
|
+
"X-Fern-SDK-Version": "12.0.1",
|
|
10
|
+
"User-Agent": "phenoml/12.0.1",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -46,8 +46,16 @@ export interface ExtractRequestConfig {
|
|
|
46
46
|
min_context_relevance?: number | undefined;
|
|
47
47
|
/**
|
|
48
48
|
* How much effort to spend ensuring consistent results across repeated requests.
|
|
49
|
-
* Higher levels apply stricter filtering to remove borderline
|
|
49
|
+
* Higher levels apply stricter filtering to remove borderline results that may
|
|
50
50
|
* vary between calls, improving determinism at the cost of additional latency.
|
|
51
|
+
*
|
|
52
|
+
* When validation_method is set to a value other than "none", consistency is
|
|
53
|
+
* applied to the validation step: codes must be unanimously validated across
|
|
54
|
+
* multiple rounds to be included.
|
|
55
|
+
*
|
|
56
|
+
* When validation_method is "none" and min_context_relevance is set above 0,
|
|
57
|
+
* consistency is applied to the relevance ranking step instead: chunks must
|
|
58
|
+
* pass the relevance threshold in every round to be included.
|
|
51
59
|
*/
|
|
52
60
|
consistency_effort?: ExtractRequestConfig.ConsistencyEffort | undefined;
|
|
53
61
|
}
|
|
@@ -75,8 +83,16 @@ export declare namespace ExtractRequestConfig {
|
|
|
75
83
|
type ValidationMethod = (typeof ValidationMethod)[keyof typeof ValidationMethod];
|
|
76
84
|
/**
|
|
77
85
|
* How much effort to spend ensuring consistent results across repeated requests.
|
|
78
|
-
* Higher levels apply stricter filtering to remove borderline
|
|
86
|
+
* Higher levels apply stricter filtering to remove borderline results that may
|
|
79
87
|
* vary between calls, improving determinism at the cost of additional latency.
|
|
88
|
+
*
|
|
89
|
+
* When validation_method is set to a value other than "none", consistency is
|
|
90
|
+
* applied to the validation step: codes must be unanimously validated across
|
|
91
|
+
* multiple rounds to be included.
|
|
92
|
+
*
|
|
93
|
+
* When validation_method is "none" and min_context_relevance is set above 0,
|
|
94
|
+
* consistency is applied to the relevance ranking step instead: chunks must
|
|
95
|
+
* pass the relevance threshold in every round to be included.
|
|
80
96
|
*/
|
|
81
97
|
const ConsistencyEffort: {
|
|
82
98
|
readonly None: "none";
|
|
@@ -22,8 +22,16 @@ export var ExtractRequestConfig;
|
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* How much effort to spend ensuring consistent results across repeated requests.
|
|
25
|
-
* Higher levels apply stricter filtering to remove borderline
|
|
25
|
+
* Higher levels apply stricter filtering to remove borderline results that may
|
|
26
26
|
* vary between calls, improving determinism at the cost of additional latency.
|
|
27
|
+
*
|
|
28
|
+
* When validation_method is set to a value other than "none", consistency is
|
|
29
|
+
* applied to the validation step: codes must be unanimously validated across
|
|
30
|
+
* multiple rounds to be included.
|
|
31
|
+
*
|
|
32
|
+
* When validation_method is "none" and min_context_relevance is set above 0,
|
|
33
|
+
* consistency is applied to the relevance ranking step instead: chunks must
|
|
34
|
+
* pass the relevance threshold in every round to be included.
|
|
27
35
|
*/
|
|
28
36
|
ExtractRequestConfig.ConsistencyEffort = {
|
|
29
37
|
None: "none",
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "12.0.
|
|
1
|
+
export declare const SDK_VERSION = "12.0.1";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "12.0.
|
|
1
|
+
export const SDK_VERSION = "12.0.1";
|