mistralai[patch]: fix core version (#19454)

This commit is contained in:
Erick Friis 2024-03-22 13:48:13 -07:00 committed by GitHub
parent 3b093160c4
commit 11e37943ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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",