Interface InlineSessionState.Builder

    • Method Detail

      • files

        InlineSessionState.Builder files​(Collection<InputFile> files)

        Contains information about the files used by code interpreter.

        Parameters:
        files - Contains information about the files used by code interpreter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • files

        InlineSessionState.Builder files​(InputFile... files)

        Contains information about the files used by code interpreter.

        Parameters:
        files - Contains information about the files used by code interpreter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • invocationId

        InlineSessionState.Builder invocationId​(String invocationId)

        The identifier of the invocation of an action. This value must match the invocationId returned in the InvokeInlineAgent response for the action whose results are provided in the returnControlInvocationResults field. For more information, see Return control to the agent developer.

        Parameters:
        invocationId - The identifier of the invocation of an action. This value must match the invocationId returned in the InvokeInlineAgent response for the action whose results are provided in the returnControlInvocationResults field. For more information, see Return control to the agent developer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • promptSessionAttributes

        InlineSessionState.Builder promptSessionAttributes​(Map<String,​String> promptSessionAttributes)

        Contains attributes that persist across a session and the values of those attributes.

        Parameters:
        promptSessionAttributes - Contains attributes that persist across a session and the values of those attributes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • returnControlInvocationResults

        InlineSessionState.Builder returnControlInvocationResults​(Collection<InvocationResultMember> returnControlInvocationResults)

        Contains information about the results from the action group invocation. For more information, see Return control to the agent developer.

        If you include this field in the sessionState field, the inputText field will be ignored.

        Parameters:
        returnControlInvocationResults - Contains information about the results from the action group invocation. For more information, see Return control to the agent developer.

        If you include this field in the sessionState field, the inputText field will be ignored.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • returnControlInvocationResults

        InlineSessionState.Builder returnControlInvocationResults​(InvocationResultMember... returnControlInvocationResults)

        Contains information about the results from the action group invocation. For more information, see Return control to the agent developer.

        If you include this field in the sessionState field, the inputText field will be ignored.

        Parameters:
        returnControlInvocationResults - Contains information about the results from the action group invocation. For more information, see Return control to the agent developer.

        If you include this field in the sessionState field, the inputText field will be ignored.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionAttributes

        InlineSessionState.Builder sessionAttributes​(Map<String,​String> sessionAttributes)

        Contains attributes that persist across a session and the values of those attributes.

        Parameters:
        sessionAttributes - Contains attributes that persist across a session and the values of those attributes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.