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