Skip to main content

@maiar-ai/core / QueryMemoryOptions

Interface: QueryMemoryOptions

Defined in: packages/core/src/runtime/providers/memory.ts:48

Defines a unit of query options for the memory provider

Properties​

relatedSpaces?​

optional relatedSpaces: object

Defined in: packages/core/src/runtime/providers/memory.ts:49

optional related spaces to search for additional context

prefix?​

optional prefix: string

pattern?​

optional pattern: string


spaceId?​

optional spaceId: string

Defined in: packages/core/src/runtime/providers/memory.ts:50

optional space id to search for additional context


before?​

optional before: number

Defined in: packages/core/src/runtime/providers/memory.ts:51

optional timestamp to search for memories before a certain date


after?​

optional after: number

Defined in: packages/core/src/runtime/providers/memory.ts:52

optional timestamp to search for memories after a certain date


limit?​

optional limit: number

Defined in: packages/core/src/runtime/providers/memory.ts:53

optional limit for the number of memories to return


offset?​

optional offset: number

Defined in: packages/core/src/runtime/providers/memory.ts:54

optional offset for the number of memories to return