Skip to content

Complete samples from buffer history#27

Closed
rasmusfaber wants to merge 3 commits into
event-store-transcript-subscribersfrom
event-store-transcript-streaming
Closed

Complete samples from buffer history#27
rasmusfaber wants to merge 3 commits into
event-store-transcript-subscribersfrom
event-store-transcript-streaming

Conversation

@rasmusfaber
Copy link
Copy Markdown

This PR contains:

  • New features
  • Changes to dev-tools e.g. CI config / github tooling
  • Docs
  • Bug fixes
  • Code refactor

What is the current behavior? (You can also link to an open issue here)

Buffer-backed evals write events incrementally during execution, but final sample completion still depends on the in-memory sample event list. That keeps the recorder path coupled to resident transcript memory and makes streamed events harder to use as the source of truth.

What is the new behavior?

Buffer-backed sample history can now be opened as a consistent snapshot and materialized into final samples. When a buffer database is available, final sample logging completes from that history, including pooled model inputs/calls, attachments, and timelines, while non-buffer recorders continue to use the existing path.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

No. The final logged sample should be equivalent, but buffer-backed evals now route completion through the streaming history path.

Other information:

This is PR 2 of 3 in the event-store transcript split and is stacked on the transcript subscriber PR. The first commit is a mechanical extraction of event pool/validation helpers used by the new buffer-history path.

@rasmusfaber
Copy link
Copy Markdown
Author

Closing to reopen against upstream origin.

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