e.js - Simple
      configs["nodejs"]["simple"] = `
      // 1. Create config with provider and API key
      const config = {
        "provider": 'openai',
        "api_key": 'Your OpenAI API key',
      };

      // 2. Add this config to the client
      const client = new Portkey({config});

      // 3. Use the client in completion requests
      await client.chat.completions.create({
        model: 'gpt-4o',
        messages: [{ role: 'user', content: 'Hello, world!' }],
      });`

      // Node.js - L