Skip to content

rulvar API reference


rulvar API reference / @rulvar/rulvar / openai

Function: openai()

ts
function openai(options?): ProviderAdapter;

Defined in: packages/openai/dist/index.d.ts

Creates the first-class OpenAI adapter (id 'openai'); maxRetries 0.

Parameters

ParameterType
options?OpenAiAdapterOptions

Returns

ProviderAdapter