LLMConfiguration constructor
LLMConfiguration({})
Implementation
factory LLMConfiguration({
$core.int? contextLength,
$core.double? temperature,
$core.int? maxTokens,
$core.String? systemPrompt,
$core.bool? streaming,
$core.String? modelId,
$3.InferenceFramework? preferredFramework,
}) {
final result = create();
if (contextLength != null) result.contextLength = contextLength;
if (temperature != null) result.temperature = temperature;
if (maxTokens != null) result.maxTokens = maxTokens;
if (systemPrompt != null) result.systemPrompt = systemPrompt;
if (streaming != null) result.streaming = streaming;
if (modelId != null) result.modelId = modelId;
if (preferredFramework != null)
result.preferredFramework = preferredFramework;
return result;
}