VertexAiMemoryBankHttpApiClient class
HTTP implementation of VertexAiMemoryBankApiClient.
- Implemented types
Constructors
- VertexAiMemoryBankHttpApiClient({String? project, String? location, String? apiKey, Object? httpOptions, String apiVersion = 'v1beta1', Client? httpClient, VertexAiMemoryBankAccessTokenProvider? accessTokenProvider, VertexAiMemoryBankUriBuilder? uriBuilder})
- Creates an HTTP Memory Bank API client.
Properties
- apiKey → String?
-
Optional Express Mode API key.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpOptions → Object
-
Merged HTTP options (HttpOptions or
Map) including ADK tracking headers.final - location → String?
-
Optional Google Cloud location.
final
- project → String?
-
Optional Google Cloud project.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createMemory(
{required String agentEngineId, required String appName, required String userId, required String fact, required Map< String, Object?> config}) → Future<void> -
Creates a memory entry directly from a fact string.
override
-
generateFromDirectMemories(
{required String agentEngineId, required String appName, required String userId, required List< String> directMemories, required Map<String, Object?> config}) → Future<void> -
Generates memories from direct memory fact strings.
override
-
generateFromEvents(
{required String agentEngineId, required String appName, required String userId, required List< Map< events, required Map<String, Object?> >String, Object?> config}) → Future<void> -
Generates memories from structured event payloads.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieve(
{required String agentEngineId, required String appName, required String userId, required String query}) → Stream< VertexAiRetrievedMemory> -
Retrieves memories matching
query.override -
retrieveProfiles(
{required String agentEngineId, required String appName, required String userId}) → Future< List< VertexAiMemoryProfile> > -
Retrieves structured user profiles for
appNameanduserId.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited