Interface IApplicationProps<Model>

Properties for the LLM function calling application composer.

interface IApplicationProps<Model extends Model> {
    document:
        | OpenApiV3.IDocument
        | OpenApiV3_1.IDocument
        | SwaggerV2.IDocument
        | OpenApi.IDocument;
    model: Model;
    options?: Partial<IHttpLlmApplication.IOptions<Model>>;
}

Type Parameters

  • Model extends Model

    Target LLM model

Properties

document:
    | OpenApiV3.IDocument
    | OpenApiV3_1.IDocument
    | SwaggerV2.IDocument
    | OpenApi.IDocument

OpenAPI document to convert.

model: Model

Target LLM model.

options?: Partial<IHttpLlmApplication.IOptions<Model>>

Options for the LLM function calling schema conversion.