phenoml 11.2.0 → 11.3.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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/authtoken/resources/auth/client/requests/AuthGenerateTokenRequest.d.ts +2 -2
- package/dist/cjs/api/resources/construe/types/ExtractRequestConfig.d.ts +15 -1
- package/dist/cjs/api/resources/construe/types/ExtractRequestConfig.js +1 -0
- 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/authtoken/resources/auth/client/requests/AuthGenerateTokenRequest.d.mts +2 -2
- package/dist/esm/api/resources/construe/types/ExtractRequestConfig.d.mts +15 -1
- package/dist/esm/api/resources/construe/types/ExtractRequestConfig.mjs +1 -0
- 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": "11.
|
|
47
|
-
"User-Agent": "phenoml/11.
|
|
46
|
+
"X-Fern-SDK-Version": "11.3.0",
|
|
47
|
+
"User-Agent": "phenoml/11.3.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);
|
|
@@ -28,9 +28,22 @@ export interface ExtractRequestConfig {
|
|
|
28
28
|
* Citations show the exact text spans (with character offsets) that led to each code.
|
|
29
29
|
* Only available when using chunking_method: "sentences".
|
|
30
30
|
* The "none" method returns full text as one chunk (not useful for citations).
|
|
31
|
-
* LLM-based chunking (paragraphs, topics) does not support citations.
|
|
31
|
+
* LLM-based chunking (paragraphs, topics, soap_note) does not support citations.
|
|
32
32
|
*/
|
|
33
33
|
include_citations?: boolean | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Optional context describing the goal of the extraction.
|
|
36
|
+
* Required when min_context_relevance is greater than 0.
|
|
37
|
+
*/
|
|
38
|
+
extraction_context?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Minimum relevance score (0.0–1.0) a chunk must reach to proceed to code extraction.
|
|
41
|
+
* Chunks are scored by an LLM against the extraction_context goal. Chunks below this
|
|
42
|
+
* threshold are dropped, reducing noise and extraction cost.
|
|
43
|
+
* Set to 0 (the default) to disable relevance filtering and extract from all chunks.
|
|
44
|
+
* Requires the "extraction_context" field when set above 0.
|
|
45
|
+
*/
|
|
46
|
+
min_context_relevance?: number | undefined;
|
|
34
47
|
}
|
|
35
48
|
export declare namespace ExtractRequestConfig {
|
|
36
49
|
/** Method for splitting input text into chunks before code extraction */
|
|
@@ -39,6 +52,7 @@ export declare namespace ExtractRequestConfig {
|
|
|
39
52
|
readonly Sentences: "sentences";
|
|
40
53
|
readonly Paragraphs: "paragraphs";
|
|
41
54
|
readonly Topics: "topics";
|
|
55
|
+
readonly SoapNote: "soap_note";
|
|
42
56
|
};
|
|
43
57
|
type ChunkingMethod = (typeof ChunkingMethod)[keyof typeof ChunkingMethod];
|
|
44
58
|
/**
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "11.
|
|
1
|
+
export declare const SDK_VERSION = "11.3.0";
|
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": "11.
|
|
10
|
-
"User-Agent": "phenoml/11.
|
|
9
|
+
"X-Fern-SDK-Version": "11.3.0",
|
|
10
|
+
"User-Agent": "phenoml/11.3.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);
|
|
@@ -28,9 +28,22 @@ export interface ExtractRequestConfig {
|
|
|
28
28
|
* Citations show the exact text spans (with character offsets) that led to each code.
|
|
29
29
|
* Only available when using chunking_method: "sentences".
|
|
30
30
|
* The "none" method returns full text as one chunk (not useful for citations).
|
|
31
|
-
* LLM-based chunking (paragraphs, topics) does not support citations.
|
|
31
|
+
* LLM-based chunking (paragraphs, topics, soap_note) does not support citations.
|
|
32
32
|
*/
|
|
33
33
|
include_citations?: boolean | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Optional context describing the goal of the extraction.
|
|
36
|
+
* Required when min_context_relevance is greater than 0.
|
|
37
|
+
*/
|
|
38
|
+
extraction_context?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Minimum relevance score (0.0–1.0) a chunk must reach to proceed to code extraction.
|
|
41
|
+
* Chunks are scored by an LLM against the extraction_context goal. Chunks below this
|
|
42
|
+
* threshold are dropped, reducing noise and extraction cost.
|
|
43
|
+
* Set to 0 (the default) to disable relevance filtering and extract from all chunks.
|
|
44
|
+
* Requires the "extraction_context" field when set above 0.
|
|
45
|
+
*/
|
|
46
|
+
min_context_relevance?: number | undefined;
|
|
34
47
|
}
|
|
35
48
|
export declare namespace ExtractRequestConfig {
|
|
36
49
|
/** Method for splitting input text into chunks before code extraction */
|
|
@@ -39,6 +52,7 @@ export declare namespace ExtractRequestConfig {
|
|
|
39
52
|
readonly Sentences: "sentences";
|
|
40
53
|
readonly Paragraphs: "paragraphs";
|
|
41
54
|
readonly Topics: "topics";
|
|
55
|
+
readonly SoapNote: "soap_note";
|
|
42
56
|
};
|
|
43
57
|
type ChunkingMethod = (typeof ChunkingMethod)[keyof typeof ChunkingMethod];
|
|
44
58
|
/**
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "11.
|
|
1
|
+
export declare const SDK_VERSION = "11.3.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "11.
|
|
1
|
+
export const SDK_VERSION = "11.3.0";
|