mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-10 21:35:08 +00:00
mistralai[patch]: fix core version (#19454)
This commit is contained in:
parent
3b093160c4
commit
11e37943ed
2
libs/partners/mistralai/poetry.lock
generated
2
libs/partners/mistralai/poetry.lock
generated
@ -1045,4 +1045,4 @@ zstd = ["zstandard (>=0.18.0)"]
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = ">=3.8.1,<4.0"
|
||||
content-hash = "3d4fde33e55ded42474f7f42fbe34ce877f1deccaffdeed17d4ea26c47d07842"
|
||||
content-hash = "706b13139d3f36b3fffb311155ec5bba970f24a692146f7deed08cb8cfe5c962"
|
||||
|
@ -12,7 +12,7 @@ license = "MIT"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.8.1,<4.0"
|
||||
langchain-core = "^0.1.27"
|
||||
langchain-core = "^0.1.31"
|
||||
tokenizers = "^0.15.1"
|
||||
httpx = ">=0.25.2,<1"
|
||||
httpx-sse = ">=0.3.1,<1"
|
||||
|
@ -1,4 +1,5 @@
|
||||
"""Test ChatMistral chat model."""
|
||||
|
||||
from langchain_mistralai.chat_models import ChatMistralAI
|
||||
|
||||
|
||||
@ -63,7 +64,7 @@ def test_invoke() -> None:
|
||||
assert isinstance(result.content, str)
|
||||
|
||||
|
||||
def test_structred_output() -> None:
|
||||
def test_structured_output() -> None:
|
||||
llm = ChatMistralAI(model="mistral-large-latest", temperature=0)
|
||||
schema = {
|
||||
"title": "AnswerWithJustification",
|
||||
|
Loading…
Reference in New Issue
Block a user