Trying to get with_structured_output working with Hugging Face custom endpoints. What am I doing wrong? #26321
Replies: 2 comments 6 replies
-
To get
Ensure that the If you continue to encounter issues, you may need to check the specific configurations or settings in the Hugging Face custom endpoint to ensure compatibility with LangChain's |
Beta Was this translation helpful? Give feedback.
-
I am also facing the same issue. Maybe hugging face models cannot use tool calling, or the langchain has no support for this |
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Description
I'm trying to use JSON structured output with a custom Hugging Face endpoint using TGI via the OpenAI compatibility option.
I receive an error:
System Info
python -m langchain_core.sys_info
System Information
Package Information
Other Dependencies
Beta Was this translation helpful? Give feedback.
All reactions