Interface SessionState.Builder

    • Method Detail

      • promptSessionAttributes

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

        Contains attributes that persist across a prompt and the values of those attributes. These attributes replace the $prompt_session_attributes$ placeholder variable in the orchestration prompt template. For more information, see Prompt template placeholder variables.

        Parameters:
        promptSessionAttributes - Contains attributes that persist across a prompt and the values of those attributes. These attributes replace the $prompt_session_attributes$ placeholder variable in the orchestration prompt template. For more information, see Prompt template placeholder variables.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionAttributes

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