Interface MemoryConfiguration.Builder

    • Method Detail

      • enabledMemoryTypesWithStrings

        MemoryConfiguration.Builder enabledMemoryTypesWithStrings​(Collection<String> enabledMemoryTypes)

        The type of memory that is stored.

        Parameters:
        enabledMemoryTypes - The type of memory that is stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabledMemoryTypesWithStrings

        MemoryConfiguration.Builder enabledMemoryTypesWithStrings​(String... enabledMemoryTypes)

        The type of memory that is stored.

        Parameters:
        enabledMemoryTypes - The type of memory that is stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabledMemoryTypes

        MemoryConfiguration.Builder enabledMemoryTypes​(Collection<MemoryType> enabledMemoryTypes)

        The type of memory that is stored.

        Parameters:
        enabledMemoryTypes - The type of memory that is stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabledMemoryTypes

        MemoryConfiguration.Builder enabledMemoryTypes​(MemoryType... enabledMemoryTypes)

        The type of memory that is stored.

        Parameters:
        enabledMemoryTypes - The type of memory that is stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageDays

        MemoryConfiguration.Builder storageDays​(Integer storageDays)

        The number of days the agent is configured to retain the conversational context.

        Parameters:
        storageDays - The number of days the agent is configured to retain the conversational context.
        Returns:
        Returns a reference to this object so that method calls can be chained together.