GenerateContentRequest

data class GenerateContentRequest(val contents: List<Content>, val model: String? = null, val generationConfig: GenerationConfig? = null, val safetySettings: List<SafetySetting>? = null, val tools: List<Tool>? = null, val systemInstruction: Content? = null)(source)

Constructors

Link copied to clipboard
constructor(contents: List<Content>, model: String? = null, generationConfig: GenerationConfig? = null, safetySettings: List<SafetySetting>? = null, tools: List<Tool>? = null, systemInstruction: Content? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "safety_settings")
val safetySettings: List<SafetySetting>?
Link copied to clipboard
Link copied to clipboard
val tools: List<Tool>?