GeminiExample constructor

GeminiExample({
  1. String model = '',
  2. required List<Content> contents,
  3. Content? systemInstruction,
  4. String cachedContent = '',
  5. List<Tool> tools = const [],
  6. ToolConfig? toolConfig,
  7. Map<String, String> labels = const {},
  8. List<SafetySetting> safetySettings = const [],
  9. 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);