Skip to content

feat: Track eve turns as individual traces#2230

Merged
Luca Forstner (lforst) merged 4 commits into
mainfrom
dum-e/cmrklcphn000a04l425jfoy2q
Jul 14, 2026
Merged

feat: Track eve turns as individual traces#2230
Luca Forstner (lforst) merged 4 commits into
mainfrom
dum-e/cmrklcphn000a04l425jfoy2q

Conversation

@lforst

@lforst Luca Forstner (lforst) commented Jul 14, 2026

Copy link
Copy Markdown
Member

Currently we attach turns to existing traces as a "session". Going forward we generally want to have a trace per turn.

@lforst Luca Forstner (lforst) force-pushed the dum-e/cmrklcphn000a04l425jfoy2q branch from 6c3274d to 89921a6 Compare July 14, 2026 11:55

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not want to attach session id then?

Comment thread .changeset/heavy-horses-tickle.md Outdated
@@ -0,0 +1,5 @@
---
"braintrust": patch

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"braintrust": patch
"braintrust": minor

I noticed my clanker loves to do this too.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was actually me haha - whenever it has a generated name, I ran the changeset command myself.

I thought this was no API change and soon enough after introduction so that we can act like this is a patch - not sure? What would be the arguments for minor? I guess any sort of scorers/processors that depend on this shape. I'll change it.

@lforst

Luca Forstner (lforst) commented Jul 14, 2026

Copy link
Copy Markdown
Member Author

Do we not want to attach session id then?

Can add (albeit it is like very useless imo cause it is very much not exposed - only useful for cross referencing I guess)

@AbhiPrasad

Copy link
Copy Markdown
Member

if we attach session id, we can run trace group scorers via aggregating on session id. It can also be used for to make topic facets better.

@lforst Luca Forstner (lforst) merged commit a95e79c into main Jul 14, 2026
48 checks passed
@lforst Luca Forstner (lforst) deleted the dum-e/cmrklcphn000a04l425jfoy2q branch July 14, 2026 19:29
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.

2 participants