Documentation
    Preparing search index...

    Type Alias ILlmSchema

    ILlmSchema:
        | ILlmSchema.IBoolean
        | ILlmSchema.IInteger
        | ILlmSchema.INumber
        | ILlmSchema.IString
        | ILlmSchema.IArray
        | ILlmSchema.IObject
        | ILlmSchema.IReference
        | ILlmSchema.IAnyOf
        | ILlmSchema.INull
        | ILlmSchema.IUnknown

    Type schema for LLM function calling.

    ILlmSchema is a JSON Schema subset designed for LLM function calling compatibility. Most LLMs (OpenAI GPT, Anthropic Claude, Google Gemini, etc.) do not fully support JSON Schema, so this simplified schema omits unsupported features like tuples, const, and mixed union types.

    Generated by typia.llm.schema<T>() for single types or included in ILlmApplication via typia.llm.application<Class>(). Shared type definitions use $defs with $ref references to reduce duplication and handle recursive structures.

    Set ILlmSchema.IConfig.strict to true for OpenAI's structured output mode, which requires all properties to be required and additionalProperties: false.

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