optimizing for ChatGPT and Perplexity