API Quick Start
This guide sends a basic request to the OpenAI-compatible Chat Completions endpoint.
Prerequisites
Set environment variables for the examples:
cURL
The generated text is returned in:
Python
Install the OpenAI SDK:
Node.js / TypeScript
Install the OpenAI SDK:
