Class ChatModelUnitTests<CallOptions, OutputMessageType>Abstract

Type Parameters

Hierarchy

Constructors

Properties

Cls: BaseChatModelConstructor<CallOptions, OutputMessageType>
chatModelHasStructuredOutput: boolean
chatModelHasToolCalling: boolean
constructorArgs: RecordStringAny

Methods

  • Run all unit tests for the chat model. Each test is wrapped in a try/catch block to prevent the entire test suite from failing. If a test fails, the error is logged to the console, and the test suite continues.

    Returns boolean

Generated using TypeDoc