Skip to content

Demonstrate Pipecat recall and capture in a text pipeline - #947

Merged
zlareb1 merged 2 commits into
mainfrom
docs/pipecat-native-text-example
Nov 19, 2026
Merged

zlareb1 merged 2 commits into
mainfrom
docs/pipecat-native-text-example

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Documentation

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

The Pipecat integration has a text-only example with a hosted check of recall and stored conversation evidence.

Why

A pipeline can finish after an adapter reports a storage error. The example's hosted check observes both the recalled context and persisted messages through a real authenticated Loom client.

Scope and risk

The example runs the native recall and capture processors with a canned reply. It opens the application's existing trusted session pointer and never replaces missing restore state. The CI case creates its own independent family before its first content, using the existing auth-on fixture and fake providers.

The hosted check requires the seeded fact in the native context and exactly two added evidence rows with the expected identity, message role, evidence actor and message content. Existing evidence must remain unchanged. Optional client dependencies install into a private target for this step; the server environment and remaining isolation checks retain their setup and assertions. This qualifies ordinary text processing only. Audio, interruption handling, protected families, video, registry publication and upstream acceptance are outside the check.

Compatibility, rollout and rollback

  • Wire: no operations, fields or defaults change.
  • Operator steps: install the optional Pipecat extra and configure the example with scoped application credentials and its trusted pointer file. Its Loom deployment uses its configured providers.
  • Rollback: remove the example and its CI step. No product schema or migration changes are introduced; test data uses the existing scoped integration cleanup.

Tests

  • Both Python files pass AST parsing, Ruff lint and format checks.
  • The workflow and documentation pass Prettier; prose and whitespace checks pass.
  • The first hosted check installed the native client, recalled the seeded fact and stored both messages, then failed the new actor expectation. Evidence rows record the message role; token-derived writer identity applies to canonical memory rows. The check expects the two evidence actors while retaining exact cardinality and every other row assertion.
  • The corrected hosted check passes with Pipecat 1.16.0, a real authenticated Loom client and fake providers. It observes the recalled seed, exactly two matching stored message rows, unchanged earlier evidence and scoped fixture cleanup. Its qualification receipt uploads successfully.
  • All required hosted checks pass. No local integration, build, provider or container operation ran.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated: Codex prepared the example and checks. Independent source and current-target composition reviews have no findings or nits.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • Required hosted checks pass. Local validation is limited to small checks related to this change.
  • Generated wire, schema and coding-agent plugin files are unchanged.
  • No product migration, setting, operation or adapter behavior changes.
  • Documentation distinguishes the text example from audio and protected-family qualification.
  • Commits are signed off.

Check the native example against the existing authenticated fixture and require stored evidence instead of treating pipeline completion as storage success.

Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 merged commit 3c9ae8e into main Nov 19, 2026
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant