You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project using llm calls that are abstracted away. I'd love to be able to add costs metadata to the RunTree object with something like: tokencost manually.
Also out of curiosity - what motivates using the run trees directly instead of the @traceable or trace helpers?
The output format is the same as in the docs. outputs would contain an openai-compatible format, inputs contain messages, and if you want to add custom usage, you add that to extra directly
Feature request
I have a project using llm calls that are abstracted away. I'd love to be able to add costs metadata to the RunTree object with something like: tokencost manually.
Motivation
This is what I'm currently doing:
This doesn't aggregate the whole run costs or shows the data nicely either.
The text was updated successfully, but these errors were encountered: