Allow or block GPTBot
User-agent: GPTBot
Disallow: /Asks GPTBot not to crawl any page. Well-behaved crawlers stop; it does not stop anyone who ignores robots.txt.
User-agent: GPTBot
Allow: /Lets GPTBot crawl everything. You only need this if a broader rule would otherwise block it.
Should you block it?
Blocking GPTBot asks OpenAI not to use new crawls of your pages for training. It doesn't remove you from AI answers, and it doesn't affect OAI-SearchBot.