Build a chatbot with huggingFace #681
-
Hi, I want to build a chatbot using hf.conversation. There is a reference to it in the documentation, but I can't find it in the library. Can you help me? |
Beta Was this translation helpful? Give feedback.
Answered by
coyotte508
May 17, 2024
Replies: 1 comment 1 reply
-
It's You can also do directly Make sure you have a recent version of Can you share more details around your error? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
coyotte508
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's
hf.chatCompletion
.You can also do directly
import { chatCompletion } from "@huggingface/inference"
Make sure you have a recent version of
@huggingface/inference
installed, it's been added in the last few weeks.Can you share more details around your error?