Code viewer for World: New World
AB.run(async () => {
    console.log("Starting OpenAI API test...");

    // Replace with your API key
    const apiKey = "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 ";

    // Text to summarize
    const articleText = `Artificial Intelligence (AI) is transforming industries worldwide. 
    This technology is especially