phenoml 11.3.0 → 11.4.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.
@@ -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": "11.3.0",
47
- "User-Agent": "phenoml/11.3.0",
46
+ "X-Fern-SDK-Version": "11.4.0",
47
+ "User-Agent": "phenoml/11.4.0",
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);
@@ -44,6 +44,12 @@ export interface ExtractRequestConfig {
44
44
  * Requires the "extraction_context" field when set above 0.
45
45
  */
46
46
  min_context_relevance?: number | undefined;
47
+ /**
48
+ * How much effort to spend ensuring consistent results across repeated requests.
49
+ * Higher levels apply stricter filtering to remove borderline codes that may
50
+ * vary between calls, improving determinism at the cost of additional latency.
51
+ */
52
+ consistency_effort?: ExtractRequestConfig.ConsistencyEffort | undefined;
47
53
  }
48
54
  export declare namespace ExtractRequestConfig {
49
55
  /** Method for splitting input text into chunks before code extraction */
@@ -67,4 +73,16 @@ export declare namespace ExtractRequestConfig {
67
73
  readonly MedicationSearch: "medication_search";
68
74
  };
69
75
  type ValidationMethod = (typeof ValidationMethod)[keyof typeof ValidationMethod];
76
+ /**
77
+ * How much effort to spend ensuring consistent results across repeated requests.
78
+ * Higher levels apply stricter filtering to remove borderline codes that may
79
+ * vary between calls, improving determinism at the cost of additional latency.
80
+ */
81
+ const ConsistencyEffort: {
82
+ readonly None: "none";
83
+ readonly Low: "low";
84
+ readonly Medium: "medium";
85
+ readonly High: "high";
86
+ };
87
+ type ConsistencyEffort = (typeof ConsistencyEffort)[keyof typeof ConsistencyEffort];
70
88
  }
@@ -23,4 +23,15 @@ var ExtractRequestConfig;
23
23
  Simple: "simple",
24
24
  MedicationSearch: "medication_search",
25
25
  };
26
+ /**
27
+ * How much effort to spend ensuring consistent results across repeated requests.
28
+ * Higher levels apply stricter filtering to remove borderline codes that may
29
+ * vary between calls, improving determinism at the cost of additional latency.
30
+ */
31
+ ExtractRequestConfig.ConsistencyEffort = {
32
+ None: "none",
33
+ Low: "low",
34
+ Medium: "medium",
35
+ High: "high",
36
+ };
26
37
  })(ExtractRequestConfig || (exports.ExtractRequestConfig = ExtractRequestConfig = {}));
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "11.3.0";
1
+ export declare const SDK_VERSION = "11.4.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "11.3.0";
4
+ exports.SDK_VERSION = "11.4.0";
@@ -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": "11.3.0",
10
- "User-Agent": "phenoml/11.3.0",
9
+ "X-Fern-SDK-Version": "11.4.0",
10
+ "User-Agent": "phenoml/11.4.0",
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);
@@ -44,6 +44,12 @@ export interface ExtractRequestConfig {
44
44
  * Requires the "extraction_context" field when set above 0.
45
45
  */
46
46
  min_context_relevance?: number | undefined;
47
+ /**
48
+ * How much effort to spend ensuring consistent results across repeated requests.
49
+ * Higher levels apply stricter filtering to remove borderline codes that may
50
+ * vary between calls, improving determinism at the cost of additional latency.
51
+ */
52
+ consistency_effort?: ExtractRequestConfig.ConsistencyEffort | undefined;
47
53
  }
48
54
  export declare namespace ExtractRequestConfig {
49
55
  /** Method for splitting input text into chunks before code extraction */
@@ -67,4 +73,16 @@ export declare namespace ExtractRequestConfig {
67
73
  readonly MedicationSearch: "medication_search";
68
74
  };
69
75
  type ValidationMethod = (typeof ValidationMethod)[keyof typeof ValidationMethod];
76
+ /**
77
+ * How much effort to spend ensuring consistent results across repeated requests.
78
+ * Higher levels apply stricter filtering to remove borderline codes that may
79
+ * vary between calls, improving determinism at the cost of additional latency.
80
+ */
81
+ const ConsistencyEffort: {
82
+ readonly None: "none";
83
+ readonly Low: "low";
84
+ readonly Medium: "medium";
85
+ readonly High: "high";
86
+ };
87
+ type ConsistencyEffort = (typeof ConsistencyEffort)[keyof typeof ConsistencyEffort];
70
88
  }
@@ -20,4 +20,15 @@ export var ExtractRequestConfig;
20
20
  Simple: "simple",
21
21
  MedicationSearch: "medication_search",
22
22
  };
23
+ /**
24
+ * How much effort to spend ensuring consistent results across repeated requests.
25
+ * Higher levels apply stricter filtering to remove borderline codes that may
26
+ * vary between calls, improving determinism at the cost of additional latency.
27
+ */
28
+ ExtractRequestConfig.ConsistencyEffort = {
29
+ None: "none",
30
+ Low: "low",
31
+ Medium: "medium",
32
+ High: "high",
33
+ };
23
34
  })(ExtractRequestConfig || (ExtractRequestConfig = {}));
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "11.3.0";
1
+ export declare const SDK_VERSION = "11.4.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "11.3.0";
1
+ export const SDK_VERSION = "11.4.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phenoml",
3
- "version": "11.3.0",
3
+ "version": "11.4.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",