Interface MemoryConfig (0.18.0)

Config for creating a Memory.

Package

@google-cloud/agentplatform

Properties

abortSignal

abortSignal?: AbortSignal;

Abort signal which can be used to cancel the request.

NOTE: AbortSignal is a client-only operation. Using it to cancel an operation will not cancel the request in the service. You will still be charged usage for any applicable operations.

description

description?: string;

The description of the memory.

disableMemoryRevisions

disableMemoryRevisions?: boolean;

Optional. Input only. If true, no revision will be created for this request.

displayName

displayName?: string;

The display name of the memory.

expireTime

expireTime?: string;

Optional. Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what expiration was sent on input.

httpOptions

httpOptions?: genaiTypes.HttpOptions;

Used to override HTTP request options.

memoryId

memoryId?: string;

Optional. The user defined ID to use for memory, which will become the final component of the memory resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are [a-z0-9-]. The first character must be a letter, and the last character must be a letter or number.

metadata

metadata?: Record<string, MemoryMetadataValue>;

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.

revisionExpireTime

revisionExpireTime?: string;

Optional. Input only. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.

revisionTtl

revisionTtl?: string;

Optional. Input only. The TTL for the revision. The expiration time is computed: now + TTL.

topics

topics?: MemoryTopicId[];

Optional. The topics of the memory.

ttl

ttl?: string;

Optional. Input only. The TTL for this resource.

The expiration time is computed: now + TTL.

waitForCompletion

waitForCompletion?: boolean;

Waits for the operation to complete before returning.