Skip to main content

AssistantMemory

One thing the signed-in person asked the assistant to remember, in the organization they are acting in.

type AssistantMemory {
id: ID!
fact: String!
pinned: Boolean!
strategy: AssistantMemoryStrategy
createdAt: Time!
updatedAt: Time!
}

Fields​

AssistantMemory.id ● ID! non-null scalar​

AssistantMemory.fact ● String! non-null scalar​

The remembered preference, in the user's own words.

AssistantMemory.pinned ● Boolean! non-null scalar​

A pinned memory is never evicted when the cap is reached.

AssistantMemory.strategy ● AssistantMemoryStrategy object​

Set on an EPISODIC memory: the strategy it is about, with that strategy's trial count. Null for a plain memory, and null when the caller can no longer read the strategy (it was deleted, or their access changed).

AssistantMemory.createdAt ● Time! non-null scalar​

AssistantMemory.updatedAt ● Time! non-null scalar​

Returned By​

setAssistantMemoryPinned mutation ● updateAssistantMemory mutation

Member Of​

AssistantMemoryList object