Interface ModelInvocationInput.Builder

    • Method Detail

      • traceId

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

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

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

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

        ModelInvocationInput.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.
      • overrideLambda

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

        ModelInvocationInput.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

        ModelInvocationInput.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
      • parserMode

        ModelInvocationInput.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

        ModelInvocationInput.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