From 437cebc95573e75f88b6e6b840f9dfa988e944a4 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Thu, 11 Jan 2024 13:39:06 -0800 Subject: [PATCH] core[patch]: release 0.1.10 (#15911) --- libs/core/langchain_core/load/load.py | 4 ++-- libs/core/langchain_core/load/mapping.py | 2 +- libs/core/pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/core/langchain_core/load/load.py b/libs/core/langchain_core/load/load.py index 7068f0c29d..dbf0f2c77d 100644 --- a/libs/core/langchain_core/load/load.py +++ b/libs/core/langchain_core/load/load.py @@ -5,7 +5,7 @@ from typing import Any, Dict, List, Optional from langchain_core._api import beta from langchain_core.load.mapping import ( - OG_SERIALIZABLE_MAPPING, + _OG_SERIALIZABLE_MAPPING, OLD_PROMPT_TEMPLATE_FORMATS, SERIALIZABLE_MAPPING, ) @@ -16,7 +16,7 @@ DEFAULT_NAMESPACES = ["langchain", "langchain_core", "langchain_community"] ALL_SERIALIZABLE_MAPPINGS = { **SERIALIZABLE_MAPPING, **OLD_PROMPT_TEMPLATE_FORMATS, - **OG_SERIALIZABLE_MAPPING, + **_OG_SERIALIZABLE_MAPPING, } diff --git a/libs/core/langchain_core/load/mapping.py b/libs/core/langchain_core/load/mapping.py index 592df1a323..454879230d 100644 --- a/libs/core/langchain_core/load/mapping.py +++ b/libs/core/langchain_core/load/mapping.py @@ -481,7 +481,7 @@ SERIALIZABLE_MAPPING: Dict[Tuple[str, ...], Tuple[str, ...]] = { # Needed for backwards compatibility for old versions of LangChain where things # Were in different place -OG_SERIALIZABLE_MAPPING: Dict[Tuple[str, ...], Tuple[str, ...]] = { +_OG_SERIALIZABLE_MAPPING: Dict[Tuple[str, ...], Tuple[str, ...]] = { ("langchain", "schema", "AIMessage"): ( "langchain_core", "messages", diff --git a/libs/core/pyproject.toml b/libs/core/pyproject.toml index 543abefbb4..0c7206145a 100644 --- a/libs/core/pyproject.toml +++ b/libs/core/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langchain-core" -version = "0.1.9" +version = "0.1.10" description = "Building applications with LLMs through composability" authors = [] license = "MIT"