SimpleChatModel<Options extends ChatModelOptions> constructor

const SimpleChatModel<Options extends ChatModelOptions>({
  1. required Options defaultOptions,
})

SimpleChatModel provides a simplified interface for working with chat models, rather than expecting the user to implement the full SimpleChatModel.invoke method.

Implementation

const SimpleChatModel({
  required super.defaultOptions,
});