Documentation
    Preparing search index...

    Interface IConfig<Class>

    Configuration for LLM application generation.

    Extends ILlmSchema.IConfig with application-specific options for custom validation. These settings control how the application schema is generated from the source class.

    interface IConfig<Class extends object = any> {
        strict: boolean;
        validate: Partial<ILlmApplication.IValidationHook<Class>> | null;
    }

    Type Parameters

    • Class extends object = any

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    strict: boolean

    Whether to enable strict mode (OpenAI structured output).

    When true, all properties become required and additionalProperties is forced to false.

    false
    
    validate: Partial<ILlmApplication.IValidationHook<Class>> | null

    Custom validation functions per method name.

    Allows overriding the default type-based validation with custom business logic. Useful for complex validation rules that cannot be expressed in JSON Schema.

    null (use default type validation)