Class ChatModelIntegrationTests<CallOptions, OutputMessageType, ConstructorArgs>Abstract

Type Parameters

Hierarchy

Constructors

Properties

Cls: BaseChatModelConstructor<CallOptions, OutputMessageType, ConstructorArgs>
chatModelHasStructuredOutput: boolean
chatModelHasToolCalling: boolean
constructorArgs: ConstructorArgs
functionId: string = "abc123"
invokeResponseType: any = AIMessage

Accessors

Methods

  • Log a warning message when skipping a test.

    Parameters

    • testName: string
    • chatClassName: string
    • Optionalextra: string

    Returns void

  • Tests a more complex tool schema than standard tool tests. This schema contains the Zod field: z.record(z.unknown()) which represents an object with unknown/any fields. Some APIs (e.g Google) do not accept JSON schemas where the object fields are unknown.

    Returns Promise<void>