LLMConfiguration constructor
LLMConfiguration({
- int? contextLength,
- String? modelId,
- InferenceFramework? preferredFramework,
- LLMGenerationOptions? defaultOptions,
Implementation
factory LLMConfiguration({
$core.int? contextLength,
$core.String? modelId,
$5.InferenceFramework? preferredFramework,
LLMGenerationOptions? defaultOptions,
}) {
final result = create();
if (contextLength != null) result.contextLength = contextLength;
if (modelId != null) result.modelId = modelId;
if (preferredFramework != null)
result.preferredFramework = preferredFramework;
if (defaultOptions != null) result.defaultOptions = defaultOptions;
return result;
}