LLMConfig constructor
const
LLMConfig({
- String? apiKey,
- required String baseUrl,
- required String model,
- int? maxTokens,
- double? temperature,
- String? systemPrompt,
- Duration? timeout,
- double? topP,
- int? topK,
- List<
Tool> ? tools, - ToolChoice? toolChoice,
- List<
String> ? stopSequences, - String? user,
- ServiceTier? serviceTier,
- Map<
String, dynamic> extensions = const {},
Implementation
const LLMConfig({
this.apiKey,
required this.baseUrl,
required this.model,
this.maxTokens,
this.temperature,
this.systemPrompt,
this.timeout,
this.topP,
this.topK,
this.tools,
this.toolChoice,
this.stopSequences,
this.user,
this.serviceTier,
this.extensions = const {},
});