mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-24 23:54:14 +00:00
core[patch]: release 0.1.10 (#15911)
This commit is contained in:
parent
80d41a8da3
commit
437cebc955
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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",
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user