runtime error
Exit code: 1. Reason: /home/user/app/main.py:21: LangChainDeprecationWarning: The class `HuggingFaceEndpoint` was deprecated in LangChain 0.0.37 and will be removed in 1.0. An updated version of the class exists in the :class:`~langchain-huggingface package and should be used instead. To use it run `pip install -U :class:`~langchain-huggingface` and import as `from :class:`~langchain_huggingface import HuggingFaceEndpoint``. llm = HuggingFaceEndpoint( Traceback (most recent call last): File "/home/user/app/app.py", line 2, in <module> from main import process_pdf, query_pdf File "/home/user/app/main.py", line 31, in <module> llm = initialize_llm() File "/home/user/app/main.py", line 21, in initialize_llm llm = HuggingFaceEndpoint( File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 223, in warn_if_direct_instance return wrapped(self, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/langchain_core/load/serializable.py", line 130, in __init__ super().__init__(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 253, in __init__ validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) pydantic_core._pydantic_core.ValidationError: 1 validation error for HuggingFaceEndpoint Value error, Parameters {'temperature'} should be specified explicitly. Instead they were passed in as part of `model_kwargs` parameter. [type=value_error, input_value={'endpoint_url': 'https:/...0.1, 'max_length': 512}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.11/v/value_error
Container logs:
Fetching error logs...