Interface PromptConfiguration.Builder

    • Method Detail

      • promptType

        PromptConfiguration.Builder promptType​(String promptType)
        Sets the value of the PromptType property for this object.
        Parameters:
        promptType - The new value for the PromptType property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PromptType, PromptType
      • promptType

        PromptConfiguration.Builder promptType​(PromptType promptType)
        Sets the value of the PromptType property for this object.
        Parameters:
        promptType - The new value for the PromptType property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PromptType, PromptType
      • promptCreationMode

        PromptConfiguration.Builder promptCreationMode​(String promptCreationMode)
        Sets the value of the PromptCreationMode property for this object.
        Parameters:
        promptCreationMode - The new value for the PromptCreationMode property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CreationMode, CreationMode
      • promptCreationMode

        PromptConfiguration.Builder promptCreationMode​(CreationMode promptCreationMode)
        Sets the value of the PromptCreationMode property for this object.
        Parameters:
        promptCreationMode - The new value for the PromptCreationMode property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CreationMode, CreationMode
      • promptState

        PromptConfiguration.Builder promptState​(String promptState)
        Sets the value of the PromptState property for this object.
        Parameters:
        promptState - The new value for the PromptState property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PromptState, PromptState
      • promptState

        PromptConfiguration.Builder promptState​(PromptState promptState)
        Sets the value of the PromptState property for this object.
        Parameters:
        promptState - The new value for the PromptState property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PromptState, PromptState
      • basePromptTemplate

        PromptConfiguration.Builder basePromptTemplate​(String basePromptTemplate)
        Sets the value of the BasePromptTemplate property for this object.
        Parameters:
        basePromptTemplate - The new value for the BasePromptTemplate property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inferenceConfiguration

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

        PromptConfiguration.Builder parserMode​(String parserMode)
        Sets the value of the ParserMode property for this object.
        Parameters:
        parserMode - The new value for the ParserMode property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CreationMode, CreationMode
      • parserMode

        PromptConfiguration.Builder parserMode​(CreationMode parserMode)
        Sets the value of the ParserMode property for this object.
        Parameters:
        parserMode - The new value for the ParserMode property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CreationMode, CreationMode