Getting started

  1. Sign-up / Sign-in
  2. Create an endpoint
  3. Add an upstream to your endpoint.
  4. Issue a service_token for your endpoint.
  5. Replace your OpenAI base URL and API key with your endpoint URL and service token respectively.
import openai

openai.api_base = "<your_endpoint_name>/openai/v1" openai.api_key = "<your_endpoint_service_token>"

const openai = new OpenAIApi(
new Configuration({
apiKey: "<your_endpoint_service_token>",
curl </span>
-H "authorization: Bearer <your_endpoint_service_token>" </span><your_endpoint_name>/openai/v1