Interface InferenceConfiguration.Builder

    • Method Detail

      • temperature

        InferenceConfiguration.Builder temperature​(Float temperature)
        Sets the value of the Temperature property for this object.
        Parameters:
        temperature - The new value for the Temperature property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topP

        InferenceConfiguration.Builder topP​(Float topP)
        Sets the value of the TopP property for this object.
        Parameters:
        topP - The new value for the TopP property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topK

        InferenceConfiguration.Builder topK​(Integer topK)
        Sets the value of the TopK property for this object.
        Parameters:
        topK - The new value for the TopK property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maximumLength

        InferenceConfiguration.Builder maximumLength​(Integer maximumLength)
        Sets the value of the MaximumLength property for this object.
        Parameters:
        maximumLength - The new value for the MaximumLength property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stopSequences

        InferenceConfiguration.Builder stopSequences​(Collection<String> stopSequences)
        Sets the value of the StopSequences property for this object.
        Parameters:
        stopSequences - The new value for the StopSequences property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stopSequences

        InferenceConfiguration.Builder stopSequences​(String... stopSequences)
        Sets the value of the StopSequences property for this object.
        Parameters:
        stopSequences - The new value for the StopSequences property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.