GeminiGenerateContentRequest

  • contents
    Type: array object[] · GeminiContent[]
    required
    • parts
      Type: array object[] · GeminiPart[]
    • role
      Type: string
  • generationConfig
    Type: object · GeminiGenerationConfig
    • maxOutputTokens
      Type: integer

      Integer numbers.

    • responseMimeType
      Type: string
    • temperature
      Type: number
    • topP
      Type: number
  • safetySettings
    Type: array object[] · GeminiSafetySetting[]
    • category
      Type: string
    • threshold
      Type: string
  • systemInstruction
    Type: object · GeminiContent
    • parts
      Type: array object[] · GeminiPart[]
    • role
      Type: string
  • tools
    Type: array object[]
    • propertyName
      Type: anything