ReasoningEngineContextSpec_MemoryBankConfig_TtlConfig_GranularTtlConfig class final

Configuration for TTL of the memories in the Memory Bank based on the action that created or updated the memory.

Inheritance
  • Object
  • ProtoMessage
  • ReasoningEngineContextSpec_MemoryBankConfig_TtlConfig_GranularTtlConfig

Constructors

ReasoningEngineContextSpec_MemoryBankConfig_TtlConfig_GranularTtlConfig({Duration? createTtl, Duration? generateCreatedTtl, Duration? generateUpdatedTtl})
ReasoningEngineContextSpec_MemoryBankConfig_TtlConfig_GranularTtlConfig.fromJson(Object? j)
factory

Properties

createTtl → Duration?
Optional. The TTL duration for memories uploaded via CreateMemory.
final
generateCreatedTtl → Duration?
Optional. The TTL duration for memories newly generated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).
final
generateUpdatedTtl → Duration?
Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED). In the case of an UPDATE action, the expire_time of the existing memory will be updated to the new value (now + TTL).
final
hashCode int
The hash code for this object.
no setterinherited
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String