GenerateContentRequest constructor
GenerateContentRequest({
- required String model,
- Content? systemInstruction,
- required List<
Content> contents, - List<
Tool> tools = const [], - ToolConfig? toolConfig,
- List<
SafetySetting> safetySettings = const [], - GenerationConfig? generationConfig,
- String? cachedContent,
Implementation
GenerateContentRequest({
required this.model,
this.systemInstruction,
required this.contents,
this.tools = const [],
this.toolConfig,
this.safetySettings = const [],
this.generationConfig,
this.cachedContent,
}) : super(fullyQualifiedName);