Documentation
    Preparing search index...

    Interface ILlmApplication<Class>

    LLM function calling application.

    ILlmApplication is a collection of ILlmFunction schemas generated from a TypeScript class or interface by typia.llm.application<App>(). Each public method becomes an ILlmFunction that LLM agents can invoke.

    Configure behavior via ILlmApplication.IConfig:

    Jeongho Nam - https://github.com/samchon

    interface ILlmApplication<Class extends object = any> {
        __class?: Class;
        config: ILlmApplication.IConfig<Class>;
        functions: ILlmFunction[];
    }

    Type Parameters

    • Class extends object = any

      Source class/interface type

    Index

    Properties

    __class?: Class

    Phantom property for TypeScript generic type preservation.

    This property exists only in the type system to preserve the Class generic parameter at compile time. It is always undefined at runtime and should not be accessed or used in application code.

    This pattern enables type inference to recover the original class type from an ILlmApplication instance, useful for type-safe function routing.

    Configuration used to generate this application.

    Contains the settings that were applied during schema generation, including strict mode and any custom validation hooks.

    functions: ILlmFunction[]

    Array of callable function schemas.

    Each function represents a method from the source class that the LLM can invoke. Functions include parameter schemas, descriptions, and validation logic for type-safe function calling.