metadataMergeStrategy property
The strategy to use when applying metadata to existing memories.
Optional. Possible string values are:
- "METADATA_MERGE_STRATEGY_UNSPECIFIED" : Unspecified metadata merge
strategy. If unspecified, the default behavior is to overwrite existing
metadata (
OVERWRITE). - "OVERWRITE" : Replace the metadata of the updated memories with the new metadata.
- "MERGE" : Append new metadata to the existing metadata. If there are duplicate keys, the existing values will be overwritten.
- "REQUIRE_EXACT_MATCH" : Restrict consolidation to memories that have exactly the same metadata as the request. If a memory doesn't have the same metadata, it is not eligible for consolidation.
Implementation
core.String? metadataMergeStrategy;