mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-30 14:15:49 +00:00
release(core): 1.4.8 (#38254)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
"""Version information for `langchain-core`."""
|
||||
|
||||
VERSION = "1.4.7"
|
||||
VERSION = "1.4.8"
|
||||
|
||||
@@ -21,7 +21,7 @@ classifiers = [
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
]
|
||||
|
||||
version = "1.4.7"
|
||||
version = "1.4.8"
|
||||
requires-python = ">=3.10.0,<4.0.0"
|
||||
dependencies = [
|
||||
"langsmith>=0.3.45,<1.0.0",
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo'], i=1)",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo'], i=1)",
|
||||
"name": "FakeListLLM"
|
||||
}
|
||||
},
|
||||
@@ -128,7 +128,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['bar'])",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['bar'])",
|
||||
"name": "FakeListLLM"
|
||||
}
|
||||
},
|
||||
@@ -268,7 +268,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo'], i=1)",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo'], i=1)",
|
||||
"name": "FakeListLLM"
|
||||
},
|
||||
"fallbacks": [
|
||||
@@ -281,7 +281,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['bar'])",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['bar'])",
|
||||
"name": "FakeListLLM"
|
||||
}
|
||||
],
|
||||
@@ -322,7 +322,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo'], i=1)",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo'], i=1)",
|
||||
"name": "FakeListLLM"
|
||||
},
|
||||
"fallbacks": [
|
||||
@@ -335,7 +335,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['baz'], i=1)",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['baz'], i=1)",
|
||||
"name": "FakeListLLM"
|
||||
},
|
||||
{
|
||||
@@ -347,7 +347,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['bar'])",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['bar'])",
|
||||
"name": "FakeListLLM"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
"fake_chat_models",
|
||||
"FakeListChatModel"
|
||||
],
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo, bar'])",
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo, bar'])",
|
||||
"name": "FakeListChatModel"
|
||||
}
|
||||
],
|
||||
@@ -227,7 +227,7 @@
|
||||
"fake_chat_models",
|
||||
"FakeListChatModel"
|
||||
],
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['baz, qux'])",
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['baz, qux'])",
|
||||
"name": "FakeListChatModel"
|
||||
}
|
||||
],
|
||||
@@ -346,7 +346,7 @@
|
||||
"fake_chat_models",
|
||||
"FakeListChatModel"
|
||||
],
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo, bar'])",
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo, bar'])",
|
||||
"name": "FakeListChatModel"
|
||||
},
|
||||
{
|
||||
@@ -457,7 +457,7 @@
|
||||
"fake_chat_models",
|
||||
"FakeListChatModel"
|
||||
],
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['baz, qux'])",
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['baz, qux'])",
|
||||
"name": "FakeListChatModel"
|
||||
}
|
||||
],
|
||||
@@ -848,7 +848,7 @@
|
||||
"fake",
|
||||
"FakeStreamingListLLM"
|
||||
],
|
||||
"repr": "FakeStreamingListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['first item, second item, third item'])",
|
||||
"repr": "FakeStreamingListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['first item, second item, third item'])",
|
||||
"name": "FakeStreamingListLLM"
|
||||
},
|
||||
{
|
||||
@@ -884,7 +884,7 @@
|
||||
"fake",
|
||||
"FakeStreamingListLLM"
|
||||
],
|
||||
"repr": "FakeStreamingListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['this', 'is', 'a', 'test'])",
|
||||
"repr": "FakeStreamingListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['this', 'is', 'a', 'test'])",
|
||||
"name": "FakeStreamingListLLM"
|
||||
}
|
||||
},
|
||||
@@ -1009,7 +1009,7 @@
|
||||
# name: test_prompt_with_chat_model
|
||||
'''
|
||||
ChatPromptTemplate(input_variables=['question'], input_types={}, partial_variables={}, messages=[SystemMessagePromptTemplate(prompt=PromptTemplate(input_variables=[], input_types={}, partial_variables={}, template='You are a nice assistant.'), additional_kwargs={}), HumanMessagePromptTemplate(prompt=PromptTemplate(input_variables=['question'], input_types={}, partial_variables={}, template='{question}'), additional_kwargs={})])
|
||||
| FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo'])
|
||||
| FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo'])
|
||||
'''
|
||||
# ---
|
||||
# name: test_prompt_with_chat_model.1
|
||||
@@ -1109,7 +1109,7 @@
|
||||
"fake_chat_models",
|
||||
"FakeListChatModel"
|
||||
],
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo'])",
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo'])",
|
||||
"name": "FakeListChatModel"
|
||||
}
|
||||
},
|
||||
@@ -1220,7 +1220,7 @@
|
||||
"fake_chat_models",
|
||||
"FakeListChatModel"
|
||||
],
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo, bar'])",
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo, bar'])",
|
||||
"name": "FakeListChatModel"
|
||||
}
|
||||
],
|
||||
@@ -1249,7 +1249,7 @@
|
||||
# name: test_prompt_with_chat_model_async
|
||||
'''
|
||||
ChatPromptTemplate(input_variables=['question'], input_types={}, partial_variables={}, messages=[SystemMessagePromptTemplate(prompt=PromptTemplate(input_variables=[], input_types={}, partial_variables={}, template='You are a nice assistant.'), additional_kwargs={}), HumanMessagePromptTemplate(prompt=PromptTemplate(input_variables=['question'], input_types={}, partial_variables={}, template='{question}'), additional_kwargs={})])
|
||||
| FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo'])
|
||||
| FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo'])
|
||||
'''
|
||||
# ---
|
||||
# name: test_prompt_with_chat_model_async.1
|
||||
@@ -1349,7 +1349,7 @@
|
||||
"fake_chat_models",
|
||||
"FakeListChatModel"
|
||||
],
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo'])",
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo'])",
|
||||
"name": "FakeListChatModel"
|
||||
}
|
||||
},
|
||||
@@ -1459,7 +1459,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo', 'bar'])",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo', 'bar'])",
|
||||
"name": "FakeListLLM"
|
||||
}
|
||||
},
|
||||
@@ -1576,7 +1576,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo', 'bar'])",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo', 'bar'])",
|
||||
"name": "FakeListLLM"
|
||||
}
|
||||
],
|
||||
@@ -1699,7 +1699,7 @@
|
||||
"fake",
|
||||
"FakeStreamingListLLM"
|
||||
],
|
||||
"repr": "FakeStreamingListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['bear, dog, cat', 'tomato, lettuce, onion'])",
|
||||
"repr": "FakeStreamingListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['bear, dog, cat', 'tomato, lettuce, onion'])",
|
||||
"name": "FakeStreamingListLLM"
|
||||
}
|
||||
],
|
||||
@@ -1867,7 +1867,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['4'])",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['4'])",
|
||||
"name": "FakeListLLM"
|
||||
}
|
||||
},
|
||||
@@ -1940,7 +1940,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['2'])",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['2'])",
|
||||
"name": "FakeListLLM"
|
||||
}
|
||||
},
|
||||
@@ -13407,7 +13407,7 @@
|
||||
just_to_test_lambda: RunnableLambda(...)
|
||||
}
|
||||
| ChatPromptTemplate(input_variables=['documents', 'question'], input_types={}, partial_variables={}, messages=[SystemMessagePromptTemplate(prompt=PromptTemplate(input_variables=[], input_types={}, partial_variables={}, template='You are a nice assistant.'), additional_kwargs={}), HumanMessagePromptTemplate(prompt=PromptTemplate(input_variables=['documents', 'question'], input_types={}, partial_variables={}, template='Context:\n{documents}\n\nQuestion:\n{question}'), additional_kwargs={})])
|
||||
| FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo, bar'])
|
||||
| FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo, bar'])
|
||||
| CommaSeparatedListOutputParser()
|
||||
'''
|
||||
# ---
|
||||
@@ -13610,7 +13610,7 @@
|
||||
"fake_chat_models",
|
||||
"FakeListChatModel"
|
||||
],
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=['foo, bar'])",
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=['foo, bar'])",
|
||||
"name": "FakeListChatModel"
|
||||
}
|
||||
],
|
||||
@@ -13636,8 +13636,8 @@
|
||||
ChatPromptTemplate(input_variables=['question'], input_types={}, partial_variables={}, messages=[SystemMessagePromptTemplate(prompt=PromptTemplate(input_variables=[], input_types={}, partial_variables={}, template='You are a nice assistant.'), additional_kwargs={}), HumanMessagePromptTemplate(prompt=PromptTemplate(input_variables=['question'], input_types={}, partial_variables={}, template='{question}'), additional_kwargs={})])
|
||||
| RunnableLambda(...)
|
||||
| {
|
||||
chat: FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=["i'm a chatbot"]),
|
||||
llm: FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=["i'm a textbot"])
|
||||
chat: FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=["i'm a chatbot"]),
|
||||
llm: FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=["i'm a textbot"])
|
||||
}
|
||||
'''
|
||||
# ---
|
||||
@@ -13762,7 +13762,7 @@
|
||||
"fake_chat_models",
|
||||
"FakeListChatModel"
|
||||
],
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=[\"i'm a chatbot\"])",
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=[\"i'm a chatbot\"])",
|
||||
"name": "FakeListChatModel"
|
||||
},
|
||||
"llm": {
|
||||
@@ -13774,7 +13774,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=[\"i'm a textbot\"])",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=[\"i'm a textbot\"])",
|
||||
"name": "FakeListLLM"
|
||||
}
|
||||
}
|
||||
@@ -13917,7 +13917,7 @@
|
||||
"fake_chat_models",
|
||||
"FakeListChatModel"
|
||||
],
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=[\"i'm a chatbot\"])",
|
||||
"repr": "FakeListChatModel(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=[\"i'm a chatbot\"])",
|
||||
"name": "FakeListChatModel"
|
||||
},
|
||||
"kwargs": {
|
||||
@@ -13938,7 +13938,7 @@
|
||||
"fake",
|
||||
"FakeListLLM"
|
||||
],
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.7'}}, responses=[\"i'm a textbot\"])",
|
||||
"repr": "FakeListLLM(metadata={'lc_versions': {'langchain-core': '1.4.8'}}, responses=[\"i'm a textbot\"])",
|
||||
"name": "FakeListLLM"
|
||||
},
|
||||
"passthrough": {
|
||||
|
||||
2
libs/core/uv.lock
generated
2
libs/core/uv.lock
generated
@@ -1039,7 +1039,7 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "langchain-core"
|
||||
version = "1.4.7"
|
||||
version = "1.4.8"
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "jsonpatch" },
|
||||
|
||||
Reference in New Issue
Block a user