Open windcandle opened 1 month ago
Please help me!
Can I work on this issue?
@Harsimran-19 you can?
I'm having the same problem. Did you solve it? @windcandle
similar question! The error messages as followed:
pydantic_core._pydantic_core.ValidationError: 1 validation error for Xinference
client
Field required [type=missing, input_value={'server_url': 'http://0....Tl', 'model_kwargs': {}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.9/v/missing
how to solve it?
same problem here!
pip install langchain_community==0.2
problem solved
Checked other resources
Example Code
Code looks like this: this code referecence xinference examples,but error. https://github.com/langchain-ai/langchain/blob/master/docs/docs/integrations/llms/xinference.ipynb
Error Message and Stack Trace (if applicable)
Run this code with error
Description
Xinference run ok, I use client call endpiont ,above error I don't know what happened.
System Info
ubuntu20.04 CUDA:12.0 python3.10.15
Package Version
aiohappyeyeballs 2.4.3 aiohttp 3.10.10 aiosignal 1.3.1 annotated-types 0.7.0 anyio 4.6.0 async-timeout 4.0.3 attrs 24.2.0 certifi 2024.8.30 charset-normalizer 3.4.0 dataclasses-json 0.6.7 exceptiongroup 1.2.2 frozenlist 1.4.1 greenlet 3.1.1 h11 0.14.0 httpcore 1.0.6 httpx 0.27.2 idna 3.10 jsonpatch 1.33 jsonpointer 3.0.0 langchain 0.3.3 langchain-community 0.3.2 langchain-core 0.3.10 langchain-text-splitters 0.3.0 langsmith 0.1.134 marshmallow 3.22.0 multidict 6.1.0 mypy-extensions 1.0.0 numpy 1.26.4 orjson 3.10.7 packaging 24.1 pip 24.2 propcache 0.2.0 pydantic 2.9.2 pydantic_core 2.23.4 pydantic-settings 2.5.2 python-dotenv 1.0.1 PyYAML 6.0.2 requests 2.32.3 requests-toolbelt 1.0.0 setuptools 75.1.0 sniffio 1.3.1 SQLAlchemy 2.0.35 tenacity 8.5.0 typing_extensions 4.12.2 typing-inspect 0.9.0 urllib3 2.2.3 wheel 0.44.0 xinference-client 0.15.3 yarl 1.14.0