Skip to content
Discussion options

You must be logged in to vote

Langfuse supports chatml for rendering messages in generation input/output, this should make the history more readable.

I'd structure the traces by making use of nested observations, learn more about this here: https://langfuse.com/docs/tracing

In the Python example we fetch the message history separately and add it to the trace as this is relevant for debugging. I'd suggest to do the same in JS.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@marcklingen
Comment options

Answer selected by marcklingen
@marcklingen
Comment options

@machulav
Comment options

@marcklingen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants