How do I implement huggingface into a game?

Hello, I am wondering how I can make an AI Chatbot using a huggingface model.
What I want to accomplish:
I want an AI chatbot system that has a text box to input the prompt, and responds by creating a text label and putting the response inside.

idk why u would want to make that but prolly just use webhook connected to chatgpt.

just use httpservice connected to some chatgpt api