Skip to content

Build a chatbot with huggingFace #681

Answered by coyotte508
Biigode asked this question in Q&A
Discussion options

You must be logged in to vote

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?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Biigode
Comment options

Answer selected by coyotte508
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #680 on May 17, 2024 07:05.