plaingateway
Integrations

OpenAI SDK

Configure OpenAI SDK to call plaingateway.

In Python, use OpenAI(api_key=os.environ["PLAINGATEWAY_API_KEY"], base_url="https://plaingateway.com/api/v1"). Set PLAINGATEWAY_API_KEY in the environment and use a catalog model ID.