@langchain/core 0.2.25 → 0.2.26
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.
|
@@ -113,7 +113,7 @@ export type BaseLanguageModelInput = BasePromptValueInterface | string | BaseMes
|
|
|
113
113
|
export type StructuredOutputType = z.infer<z.ZodObject<any, any, any, any>>;
|
|
114
114
|
export type StructuredOutputMethodOptions<IncludeRaw extends boolean = false> = {
|
|
115
115
|
name?: string;
|
|
116
|
-
method?: "functionCalling" | "jsonMode";
|
|
116
|
+
method?: "functionCalling" | "jsonMode" | "jsonSchema" | string;
|
|
117
117
|
includeRaw?: IncludeRaw;
|
|
118
118
|
};
|
|
119
119
|
/** @deprecated Use StructuredOutputMethodOptions instead */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.26",
|
|
4
4
|
"description": "Core LangChain.js abstractions and schemas",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@jest/globals": "^29.5.0",
|
|
58
|
-
"@langchain/scripts": "
|
|
58
|
+
"@langchain/scripts": "^0.0.21",
|
|
59
59
|
"@swc/core": "^1.3.90",
|
|
60
60
|
"@swc/jest": "^0.2.29",
|
|
61
61
|
"@types/decamelize": "^1.2.0",
|