Class ConversationConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • responsesRetentionInHours

        public ConversationConfig.Builder responsesRetentionInHours​(Integer responsesRetentionInHours)
        Retention period (in hours) for responses.

        The TTL starts from the time the response was created.

        Parameters:
        responsesRetentionInHours - the value to set
        Returns:
        this builder
      • conversationsRetentionInHours

        public ConversationConfig.Builder conversationsRetentionInHours​(Integer conversationsRetentionInHours)
        Retention period (in hours) for conversations.

        The TTL starts from the time the conversation was last updated.

        Parameters:
        conversationsRetentionInHours - the value to set
        Returns:
        this builder