OpenAI

OpenAI AI platform: chat completions (GPT-4o, o1, o3), image generation (DALL-E 3), audio transcription (Whisper), text-to-speech, embeddings, content moderation, and the Assistants API.

Ai
39
Actions
0
Triggers

Example

A complete route that uses OpenAI — an input is matched, scored by a strategy, assigned, and dispatched to OpenAI.

type == "ai.task"key →TriggerNew AI taskWebhookAssignleast_loadedStrategymodel-fleetassignedopenaiActionDelivered
Show the code
// Route an AI task to the cheapest capable model.
engine.Route(ductor.Route{
Match: `routable.type == "ai.task"`,
Strategy: "least_loaded",
Pool: "model-fleet",
Then: ductor.Workflow{
Mode: ductor.Async,
Steps: ductor.Steps{
ductor.Connector("openai", "run"),
},
},
})
 
// Durable, observable, exactly-once.
decision, err := engine.Dispatch(ctx, routable)

What you can build

Cheapest-capable routing

Send each task to the lowest-cost model that can handle it.

Failover across providers

Try one provider, fall back on error or rate limit.

Human-in-the-loop

Gate risky generations behind an approval step.

Authentication

API keyNo auth

Credentials are stored AEAD-encrypted at rest — usable by the engine, never readable back.

Actions

No actions on this connector.