ChatGPT/HuggingChat in my game?

Thank you for your response.
I have found an ai you can train locally instead but i don’t know how to connect it to Gdevelop5.
See my thread for more explanations.