diff --git a/langchain-core/package.json b/langchain-core/package.json index 9739eb621b7b..45ee433c91e0 100644 --- a/langchain-core/package.json +++ b/langchain-core/package.json @@ -1,6 +1,6 @@ { "name": "@langchain/core", - "version": "0.0.0", + "version": "0.0.1", "description": "Core LangChain.js abstractions and schemas", "type": "module", "engines": { diff --git a/langchain-core/src/prompt_values.ts b/langchain-core/src/prompt_values.ts index 2d8e1117da22..1295774b97d6 100644 --- a/langchain-core/src/prompt_values.ts +++ b/langchain-core/src/prompt_values.ts @@ -21,6 +21,8 @@ export abstract class BasePromptValue extends Serializable { export class StringPromptValue extends BasePromptValue { lc_namespace = ["langchain_core", "prompt_values"]; + lc_serializable = true; + value: string; constructor(value: string) { diff --git a/langchain/package.json b/langchain/package.json index fc74988dd192..628381783036 100644 --- a/langchain/package.json +++ b/langchain/package.json @@ -1380,9 +1380,9 @@ } }, "dependencies": { - "@langchain/anthropic": "^0.0.2", - "@langchain/core": "^0.0.0", - "@langchain/openai": "^0.0.0", + "@langchain/anthropic": "^0.0.3", + "@langchain/core": "^0.0.1", + "@langchain/openai": "^0.0.1", "binary-extensions": "^2.2.0", "expr-eval": "^2.0.2", "flat": "^5.0.2", diff --git a/libs/langchain-anthropic/package.json b/libs/langchain-anthropic/package.json index e294adb55d7d..3dee717d9b20 100644 --- a/libs/langchain-anthropic/package.json +++ b/libs/langchain-anthropic/package.json @@ -1,6 +1,6 @@ { "name": "@langchain/anthropic", - "version": "0.0.2", + "version": "0.0.3", "description": "Anthropic integrations for LangChain.js", "type": "module", "engines": { @@ -33,7 +33,7 @@ "license": "MIT", "dependencies": { "@anthropic-ai/sdk": "^0.10.0", - "@langchain/core": "^0.0.0" + "@langchain/core": "~0.0.1" }, "devDependencies": { "@jest/globals": "^29.5.0", diff --git a/libs/langchain-openai/package.json b/libs/langchain-openai/package.json index ec1e62fd9750..3f348059ec94 100644 --- a/libs/langchain-openai/package.json +++ b/libs/langchain-openai/package.json @@ -1,6 +1,6 @@ { "name": "@langchain/openai", - "version": "0.0.0", + "version": "0.0.1", "description": "OpenAI integrations for LangChain.js", "type": "module", "engines": { @@ -32,7 +32,7 @@ "author": "LangChain", "license": "MIT", "dependencies": { - "@langchain/core": "^0.0.0", + "@langchain/core": "~0.0.1", "js-tiktoken": "^1.0.7", "openai": "^4.19.0", "zod-to-json-schema": "3.20.3"