Class MemoryBankConfig (1.122.0)

MemoryBankConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specification for a Memory Bank.

Attributes

Name Description
generation_config google.cloud.aiplatform_v1beta1.types.ReasoningEngineContextSpec.MemoryBankConfig.GenerationConfig
Optional. Configuration for how to generate memories for the Memory Bank.
similarity_search_config google.cloud.aiplatform_v1beta1.types.ReasoningEngineContextSpec.MemoryBankConfig.SimilaritySearchConfig
Optional. Configuration for how to perform similarity search on memories. If not set, the Memory Bank will use the default embedding model text-embedding-005.
ttl_config google.cloud.aiplatform_v1beta1.types.ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig
Optional. Configuration for automatic TTL ("time-to-live") of the memories in the Memory Bank. If not set, TTL will not be applied automatically. The TTL can be explicitly set by modifying the expire_time of each Memory resource.

Classes

GenerationConfig

GenerationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for how to generate memories.

SimilaritySearchConfig

SimilaritySearchConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for how to perform similarity search on memories.

TtlConfig

TtlConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for automatically setting the TTL ("time-to-live") of the memories in the Memory Bank.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Methods

MemoryBankConfig

MemoryBankConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specification for a Memory Bank.