Interface StreamingConfigurations.Builder

    • Method Detail

      • applyGuardrailInterval

        StreamingConfigurations.Builder applyGuardrailInterval​(Integer applyGuardrailInterval)

        The guardrail interval to apply as response is generated.

        Parameters:
        applyGuardrailInterval - The guardrail interval to apply as response is generated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streamFinalResponse

        StreamingConfigurations.Builder streamFinalResponse​(Boolean streamFinalResponse)

        Specifies whether to enable streaming for the final response. This is set to false by default.

        Parameters:
        streamFinalResponse - Specifies whether to enable streaming for the final response. This is set to false by default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.