Error in Einstein AI tutorial?
-
https://www.forum.creaticode.com/topic/940/chatgpt-ai-an-improved-chat-app-difficulty-3
In this tutorial, Step 6 suggests that there will be a checkmark to denote the end of a response. The tutorial does show you where to download the checkmark, but does not tell us how to include a checkmark at the end of a response. Is this missing?
Here is my code:
https://play.creaticode.com/projects/663ff0fab9c6605614640b66
Many thanks in advance.
-
You will have to share and publish it, as nobody can see it.
-
Your program looks fine. The checkmark is automatically added by our server to indicate that is the end of the stream, since there is no other way for you to tell whether more text is coming from the server.
You can double-check it by examining the value of the “response” variable after some chats:
CreatiCode