You can experience this demo (recommended for use on a PC).
https://takashiyoshinaga.github.io/ChatGPT-A-Frame-Sample/
*Please create your own API key on the OpenAI website.
https://platform.openai.com/signup
This is the simplest sample to achieve one round-trip conversation with ChatGPT.
(previous context is not taken into account).
This is a sample that uses previous scene information when sending a prompt.
This is a sample that uses a response that takes into account several rounds of conversation with ChatGPT
Sample code to use the KeepChatHistory demo with ZapWorks.
Feel free to contact me if you have questions.
https://twitter.com/Taka_Yoshinaga