FakeChatModel constructor
FakeChatModel({
- required List<
String> responses, - FakeChatModelOptions defaultOptions = const FakeChatModelOptions(),
Fake LLM for testing. You can pass in a list of responses to return in order when called.
Implementation
FakeChatModel({
required this.responses,
super.defaultOptions = const FakeChatModelOptions(),
});