EngineVersion 1contextClasses

context:Context

A context is an isolated interaction between users and Kleo. Contains tasks and accumulated working memory.

Properties

context:activated (optional)

A matrix that was activated in a context.

Context may reference one or more activated matrices.

context:contextId (required, max 1)

Unique identifier for a context.

Context must have exactly one non-empty context ID that uniquely identifies it.

context:createdAt (required, max 1)

The timestamp when the context was created.

Context must have exactly one creation timestamp in ISO 8601 format (e.g., '2024-01-01T12:00:00Z').

context:principal (required, max 1)

The authenticated principal associated with this context.

Context must be associated with exactly one principal.

context:title (optional, max 1)

The title of the context.

Context may have a title derived from the initial prompt.

We use the first couple words of the first prompt as the title.

context:workingMemory (required, min 1)

Links an entity to its working memory named graph that accumulates statements as instance data.

Entity must have working memory.

context:workspace (optional, max 1)

The platform workspace this context belongs to.

Context may be associated with a workspace.

On this page