GenerateMemoriesRequest class final

Request message for MemoryBankService.GenerateMemories.

Inheritance
  • Object
  • ProtoMessage
  • GenerateMemoriesRequest

Constructors

GenerateMemoriesRequest({GenerateMemoriesRequest_VertexSessionSource? vertexSessionSource, GenerateMemoriesRequest_DirectContentsSource? directContentsSource, GenerateMemoriesRequest_DirectMemoriesSource? directMemoriesSource, required String parent, bool disableConsolidation = false, Map<String, String> scope = const {}})
GenerateMemoriesRequest.fromJson(Object? j)
factory

Properties

directContentsSource GenerateMemoriesRequest_DirectContentsSource?
Defines a direct source of content as the source content from which to generate memories.
final
directMemoriesSource GenerateMemoriesRequest_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.
final
disableConsolidation bool
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.
final
hashCode int
The hash code for this object.
no setterinherited
parent String
Required. The resource name of the ReasoningEngine to generate memories for. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Map<String, String>
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 '*'.
final
vertexSessionSource GenerateMemoriesRequest_VertexSessionSource?
Defines a Vertex Session as the source content from which to generate memories.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String