core[patch]: release 0.1.10 (#15911)

This commit is contained in:
Erick Friis 2024-01-11 13:39:06 -08:00 committed by GitHub
parent 80d41a8da3
commit 437cebc955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ from typing import Any, Dict, List, Optional
from langchain_core._api import beta from langchain_core._api import beta
from langchain_core.load.mapping import ( from langchain_core.load.mapping import (
OG_SERIALIZABLE_MAPPING, _OG_SERIALIZABLE_MAPPING,
OLD_PROMPT_TEMPLATE_FORMATS, OLD_PROMPT_TEMPLATE_FORMATS,
SERIALIZABLE_MAPPING, SERIALIZABLE_MAPPING,
) )
@ -16,7 +16,7 @@ DEFAULT_NAMESPACES = ["langchain", "langchain_core", "langchain_community"]
ALL_SERIALIZABLE_MAPPINGS = { ALL_SERIALIZABLE_MAPPINGS = {
**SERIALIZABLE_MAPPING, **SERIALIZABLE_MAPPING,
**OLD_PROMPT_TEMPLATE_FORMATS, **OLD_PROMPT_TEMPLATE_FORMATS,
**OG_SERIALIZABLE_MAPPING, **_OG_SERIALIZABLE_MAPPING,
} }

View File

@ -481,7 +481,7 @@ SERIALIZABLE_MAPPING: Dict[Tuple[str, ...], Tuple[str, ...]] = {
# Needed for backwards compatibility for old versions of LangChain where things # Needed for backwards compatibility for old versions of LangChain where things
# Were in different place # Were in different place
OG_SERIALIZABLE_MAPPING: Dict[Tuple[str, ...], Tuple[str, ...]] = { _OG_SERIALIZABLE_MAPPING: Dict[Tuple[str, ...], Tuple[str, ...]] = {
("langchain", "schema", "AIMessage"): ( ("langchain", "schema", "AIMessage"): (
"langchain_core", "langchain_core",
"messages", "messages",

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "langchain-core" name = "langchain-core"
version = "0.1.9" version = "0.1.10"
description = "Building applications with LLMs through composability" description = "Building applications with LLMs through composability"
authors = [] authors = []
license = "MIT" license = "MIT"