You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Replace the metadata of the updated memories with the new metadata."""
368
+
MERGE = "MERGE"
369
+
"""Append new metadata to the existing metadata. If there are duplicate keys, the existing values will be overwritten."""
370
+
REQUIRE_EXACT_MATCH = "REQUIRE_EXACT_MATCH"
371
+
"""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."""
372
+
373
+
348
374
class GenerateMemoriesResponseGeneratedMemoryAction(_common.CaseInSensitiveEnum):
349
375
"""The action to take."""
350
376
@@ -6622,6 +6648,10 @@ class AgentEngineMemoryConfig(_common.BaseModel):
6622
6648
topics: Optional[list[MemoryTopicId]] = Field(
6623
6649
default=None, description="""Optional. The topics of the memory."""
description="""Optional. User-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.""",
6654
+
)
6625
6655
6626
6656
6627
6657
class AgentEngineMemoryConfigDict(TypedDict, total=False):
@@ -6659,6 +6689,9 @@ class AgentEngineMemoryConfigDict(TypedDict, total=False):
"""Optional. User-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank."""
description="""Optional. User-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.""",
6808
+
)
6772
6809
6773
6810
6774
6811
class MemoryDict(TypedDict, total=False):
@@ -6813,6 +6850,9 @@ class MemoryDict(TypedDict, total=False):
"""Optional. User-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank."""
6855
+
6816
6856
6817
6857
MemoryOrDict = Union[Memory, MemoryDict]
6818
6858
@@ -7124,6 +7164,14 @@ class GenerateAgentEngineMemoriesConfig(_common.BaseModel):
7124
7164
default=None,
7125
7165
description="""Optional. Input only. If true, no revisions will be created for this request.""",
description="""Optional. User-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.""",
8095
+
)
7916
8096
update_mask: Optional[str] = Field(
7917
8097
default=None,
7918
8098
description="""The update mask to apply. For the `FieldMask` definition, see
@@ -7955,6 +8135,9 @@ class UpdateAgentEngineMemoryConfigDict(TypedDict, total=False):
"""Optional. User-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank."""
8140
+
7958
8141
update_mask: Optional[str]
7959
8142
"""The update mask to apply. For the `FieldMask` definition, see
0 commit comments