Class GoogleCloudAiplatformV1GenerateMemoriesRequest
Request message for MemoryBankService.GenerateMemories. Maximum size is 8 MB.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1GenerateMemoriesRequest : IDirectResponseSchema
Properties
DirectContentsSource
Defines a direct source of content as the source content from which to generate memories.
Declaration
[JsonProperty("directContentsSource")]
public virtual GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource DirectContentsSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource |
DirectMemoriesSource
Defines a direct source of memories that should be uploaded to Memory Bank. This is similar to
CreateMemory, but it allows for consolidation between these new memories and existing memories for the
same scope.
Declaration
[JsonProperty("directMemoriesSource")]
public virtual GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource DirectMemoriesSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource |
DisableConsolidation
Optional. If true, generated memories will not be consolidated with existing memories; all generated memories will be added as new memories regardless of whether they are duplicates of or contradictory to existing memories. By default, memory consolidation is enabled.
Declaration
[JsonProperty("disableConsolidation")]
public virtual bool? DisableConsolidation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
DisableMemoryRevisions
Optional. If true, no revisions will be created for this request.
Declaration
[JsonProperty("disableMemoryRevisions")]
public virtual bool? DisableMemoryRevisions { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Metadata
Optional. User-provided metadata for the generated memories. This is not generated by Memory Bank.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, GoogleCloudAiplatformV1MemoryMetadataValue> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, GoogleCloudAiplatformV1MemoryMetadataValue> |
MetadataMergeStrategy
Optional. The strategy to use when applying metadata to existing memories.
Declaration
[JsonProperty("metadataMergeStrategy")]
public virtual string MetadataMergeStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RevisionExpireTime
object representation of RevisionExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use RevisionExpireTimeDateTimeOffset instead.")]
public virtual object RevisionExpireTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
RevisionExpireTimeDateTimeOffset
DateTimeOffset representation of RevisionExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? RevisionExpireTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
RevisionExpireTimeRaw
Optional. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.
Declaration
[JsonProperty("revisionExpireTime")]
public virtual string RevisionExpireTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RevisionLabels
Optional. Labels to be applied to the generated memory revisions. For example, you can use this to label a revision with its data source.
Declaration
[JsonProperty("revisionLabels")]
public virtual IDictionary<string, string> RevisionLabels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
RevisionTtl
Optional. The TTL for the revision. The expiration time is computed: now + TTL.
Declaration
[JsonProperty("revisionTtl")]
public virtual object RevisionTtl { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Scope
Optional. The scope of the memories that should be generated. Memories will be consolidated across memories
with the same scope. Must be provided unless the scope is defined in the source content. If scope is
provided, it will override the scope defined in the source content. Scope values cannot contain the wildcard
character '*'.
Declaration
[JsonProperty("scope")]
public virtual IDictionary<string, string> Scope { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
VertexSessionSource
Defines a Vertex Session as the source content from which to generate memories.
Declaration
[JsonProperty("vertexSessionSource")]
public virtual GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource VertexSessionSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource |