Interface HarnessGeminiModelConfig.Builder

  • Method Details

    • modelId

      The Gemini model ID.

      Parameters:
      modelId - The Gemini model ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiKeyArn

      The ARN of your Gemini API key on AgentCore Identity.

      Parameters:
      apiKeyArn - The ARN of your Gemini API key on AgentCore Identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxTokens

      The maximum number of tokens to allow in the generated response per iteration.

      Parameters:
      maxTokens - The maximum number of tokens to allow in the generated response per iteration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • temperature

      HarnessGeminiModelConfig.Builder temperature(Float temperature)

      The temperature to set when calling the model.

      Parameters:
      temperature - The temperature to set when calling the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topP

      The topP set when calling the model.

      Parameters:
      topP - The topP set when calling the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topK

      The topK set when calling the model.

      Parameters:
      topK - The topK set when calling the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.