@langchain/core
Advanced tools
Comparing version 0.1.23 to 0.1.24
@@ -198,2 +198,3 @@ import { Serializable } from "../load/serializable.js"; | ||
_getType(): MessageType; | ||
static isInstance(message: BaseMessage): message is ToolMessage; | ||
} | ||
@@ -200,0 +201,0 @@ /** |
@@ -338,2 +338,5 @@ import { Serializable } from "../load/serializable.js"; | ||
} | ||
static isInstance(message) { | ||
return message._getType() === "tool"; | ||
} | ||
} | ||
@@ -340,0 +343,0 @@ /** |
@@ -32,2 +32,3 @@ import { ImagePromptValue, ImageContent } from "../prompt_values.js"; | ||
static lc_name(): string; | ||
lc_namespace: string[]; | ||
template: Record<string, unknown>; | ||
@@ -34,0 +35,0 @@ templateFormat: TemplateFormat; |
@@ -13,2 +13,8 @@ import { ImagePromptValue } from "../prompt_values.js"; | ||
super(input); | ||
Object.defineProperty(this, "lc_namespace", { | ||
enumerable: true, | ||
configurable: true, | ||
writable: true, | ||
value: ["langchain_core", "prompts", "image"] | ||
}); | ||
Object.defineProperty(this, "template", { | ||
@@ -15,0 +21,0 @@ enumerable: true, |
@@ -9,1 +9,2 @@ export * from "./base.js"; | ||
export * from "./template.js"; | ||
export * from "./image.js"; |
@@ -9,1 +9,2 @@ export * from "./base.js"; | ||
export * from "./template.js"; | ||
export * from "./image.js"; |
{ | ||
"name": "@langchain/core", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"description": "Core LangChain.js abstractions and schemas", | ||
@@ -284,2 +284,11 @@ "type": "module", | ||
}, | ||
"./runnables/remote": { | ||
"types": { | ||
"import": "./runnables/remote.d.ts", | ||
"require": "./runnables/remote.d.cts", | ||
"default": "./runnables/remote.d.ts" | ||
}, | ||
"import": "./runnables/remote.js", | ||
"require": "./runnables/remote.cjs" | ||
}, | ||
"./retrievers": { | ||
@@ -402,2 +411,11 @@ "types": { | ||
}, | ||
"./utils/event_source_parse": { | ||
"types": { | ||
"import": "./utils/event_source_parse.d.ts", | ||
"require": "./utils/event_source_parse.d.cts", | ||
"default": "./utils/event_source_parse.d.ts" | ||
}, | ||
"import": "./utils/event_source_parse.js", | ||
"require": "./utils/event_source_parse.cjs" | ||
}, | ||
"./utils/function_calling": { | ||
@@ -581,2 +599,6 @@ "types": { | ||
"runnables.d.cts", | ||
"runnables/remote.cjs", | ||
"runnables/remote.js", | ||
"runnables/remote.d.ts", | ||
"runnables/remote.d.cts", | ||
"retrievers.cjs", | ||
@@ -634,2 +656,6 @@ "retrievers.js", | ||
"utils/env.d.cts", | ||
"utils/event_source_parse.cjs", | ||
"utils/event_source_parse.js", | ||
"utils/event_source_parse.d.ts", | ||
"utils/event_source_parse.d.cts", | ||
"utils/function_calling.cjs", | ||
@@ -636,0 +662,0 @@ "utils/function_calling.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1404918
469
34687
10