Langchain Integration [Huggingface]
The first 10 minutes test works, that is nice. I have a small sample using langchain to connect to OpenAI and Huggingface. It seems the HuggingFace version does not work completely. I get and error and the Generation is not logged like with OpenAI.
This is the error:
Below is the code I use:
3 Replies
Thanks for the pointer, we'll look into it!
Copying your second message
Created a new issue for this problem as @Dev Khant (Mem0) was interested to also have a look at this: https://github.com/langfuse/langfuse-python/issues/16
GitHub
[Langchain Integration] Support HuggingFaceHub as LLM · Issue #16 ·...
A user got the following error when using the Langchain integration with HuggingFaceHub for LLMs. ERROR:root:'model_name' ERROR:root:run not found Steps investigate issue to find root cause...
Could be a minor fix in the Handler. I’ll give it a try