how works the ai chat functions
That works with a web request with the Pocket Code blocks. You also have to add some text to the AI so it knows what it is. You can see it here.