Skip to content

API Reference parrot.memory.dream.eligibility

github-actions[bot] edited this page Dec 2, 2026 · 1 revision

parrot.memory.dream.eligibility

View source

Eligibility — which episodes may be consolidated into a brain (FEAT-889 M2).

A conversation turn has no verified outcome (FEAT-571 M0), so it is not evidence; personal preferences never enter a brain shared by a tenant's users. See spec §2 "Eligibility".

Alias DreamConfig

Re-exported from parrot.memory.dream.models.DreamConfig.

Alias EpisodeCategory

Re-exported from parrot.memory.episodic.models.EpisodeCategory.

Alias EpisodeOutcome

Re-exported from parrot.memory.episodic.models.EpisodeOutcome.

Alias EpisodicMemory

Re-exported from parrot.memory.episodic.models.EpisodicMemory.

Function is_eligible

Apply the four rules of spec §2 "Eligibility". Pure; never raises.

Rule 1 also excludes an episode cited by a fact its user forgot (metadata["forgotten"], FEAT-889 R7): forgotten evidence never becomes brain knowledge.

is_eligible(episode: EpisodicMemory, config: DreamConfig) -> bool

Parameter Type Default Description
episode EpisodicMemory Candidate episode.
config DreamConfig Dream tunables (threshold, excluded categories, unverified-turn flag).

Returns: bool — True only when all four rules hold.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally