Circle V2 API Docs
    Preparing search index...

    Type Alias GetOpenAIClientOptions

    type GetOpenAIClientOptions = {
        model?: OpenAIModel;
    }
    Index

    Properties

    Properties

    model?: OpenAIModel

    Model to use for completions. Defaults to DEFAULT_OPENAI_MODEL.

    Callers typically destructure the returned model and pass it through to client.chat.completions.create({ model, ... }), so the choice of model is co-located with the call that uses it.