Interface CustomPromptInterface.Builder

  • Method Details

    • modelProfileId

      CustomPromptInterface.Builder modelProfileId(String modelProfileId)

      The identifier of the model profile.

      Parameters:
      modelProfileId - The identifier of the model profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscriptionId

      CustomPromptInterface.Builder subscriptionId(String subscriptionId)

      The subscription identifier.

      Parameters:
      subscriptionId - The subscription identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • qbsAwsAccountId

      CustomPromptInterface.Builder qbsAwsAccountId(String qbsAwsAccountId)

      The Amazon Web Services account ID for the Q Business service.

      Parameters:
      qbsAwsAccountId - The Amazon Web Services account ID for the Q Business service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseLength

      CustomPromptInterface.Builder responseLength(String responseLength)

      Instructions for the desired response length.

      Parameters:
      responseLength - Instructions for the desired response length.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputStyle

      CustomPromptInterface.Builder outputStyle(String outputStyle)

      Instructions for the desired output style.

      Parameters:
      outputStyle - Instructions for the desired output style.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identity

      Instructions that define the agent's identity and persona.

      Parameters:
      identity - Instructions that define the agent's identity and persona.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tone

      Instructions for the desired tone of responses.

      Parameters:
      tone - Instructions for the desired tone of responses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customInstructions

      CustomPromptInterface.Builder customInstructions(String customInstructions)

      Custom instructions for the agent's behavior.

      Parameters:
      customInstructions - Custom instructions for the agent's behavior.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • promptSummary

      CustomPromptInterface.Builder promptSummary(String promptSummary)

      A summary of the custom prompt configuration.

      Parameters:
      promptSummary - A summary of the custom prompt configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.