[WIP] Add experiment logging support for BrainTrust#49
Conversation
There was a problem hiding this comment.
Cool, the change looks pretty clean to me.
Is the idea that we'll "subscribe" to test emitter events and then send braintrust log statements as they occur?
We are in the middle of adding more granular profiling to BrainTrust btw, via an idea called "spans".
Not strictly necessary to include in the MVP, but if it's possible to emit an event each time a node executes for each test case, we can incrementally log span progress to BrainTrust, and then you'd be able to see performance metrics across the whole execution tree.
| inputs, | ||
| ); | ||
| }, | ||
| // braintrustApiKey: settings.braintrustApiKey, |
There was a problem hiding this comment.
is this the WIP section?
| @@ -0,0 +1,35 @@ | |||
| // Extracted from braintrust library | |||
There was a problem hiding this comment.
Do these need to be extracted? Can they just be re-exported?
Ah yeah I can just pipe in the events from the graph execution! |
No description provided.