Interface MemoryConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MemoryConfiguration.Builder,MemoryConfiguration>, SdkBuilder<MemoryConfiguration.Builder,MemoryConfiguration>, SdkPojo
Enclosing class:
MemoryConfiguration

public static interface MemoryConfiguration.Builder extends SdkPojo, CopyableBuilder<MemoryConfiguration.Builder,MemoryConfiguration>
  • Method Details

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