Experimenting with other LLMs #74
Unanswered
AshishSardana
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@mayooear - have you had a chance to try other LLMs? It'd be great if you can give it a quick try and share the necessary changes required. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
LangchainJS provides
HuggingFaceInference
class that can use the LLMs from HF Hub.The documentation for using it is here and the source code here.
Has anyone tried replacing the
OpenAIChat
LLM with one of HuggingFace's LLM?I've tried by making simple changes to makeChain.ts and adding
HUGGINGFACE_HUB_API_KEY
in the.env
file, but I'm receiving empty response from the chatbot.Beta Was this translation helpful? Give feedback.
All reactions