@langchain/core 0.3.19-rc.1 → 0.3.19
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.
|
@@ -21,6 +21,8 @@ class BytesOutputParser extends transform_js_1.BaseTransformOutputParser {
|
|
|
21
21
|
writable: true,
|
|
22
22
|
value: true
|
|
23
23
|
});
|
|
24
|
+
// TODO: Figure out why explicit typing is needed
|
|
25
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
24
26
|
Object.defineProperty(this, "textEncoder", {
|
|
25
27
|
enumerable: true,
|
|
26
28
|
configurable: true,
|
|
@@ -7,7 +7,7 @@ export declare class BytesOutputParser extends BaseTransformOutputParser<Uint8Ar
|
|
|
7
7
|
static lc_name(): string;
|
|
8
8
|
lc_namespace: string[];
|
|
9
9
|
lc_serializable: boolean;
|
|
10
|
-
protected textEncoder:
|
|
10
|
+
protected textEncoder: any;
|
|
11
11
|
parse(text: string): Promise<Uint8Array>;
|
|
12
12
|
getFormatInstructions(): string;
|
|
13
13
|
}
|
|
@@ -18,6 +18,8 @@ export class BytesOutputParser extends BaseTransformOutputParser {
|
|
|
18
18
|
writable: true,
|
|
19
19
|
value: true
|
|
20
20
|
});
|
|
21
|
+
// TODO: Figure out why explicit typing is needed
|
|
22
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
21
23
|
Object.defineProperty(this, "textEncoder", {
|
|
22
24
|
enumerable: true,
|
|
23
25
|
configurable: true,
|