Type alias aiFactoryOptions

aiFactoryOptions: {
    apiKey: string;
    model: string;
    type: ModelType;
}

Options for the AI model factory.

Type declaration

  • apiKey: string

    API key to use for the model provider.

  • model: string

    Model name to use.

  • type: ModelType

    Whether to stream the response or get a single response.

Generated using TypeDoc