How to get generations and scores in the same trace when using OpenAI sdk or other tools #1759
Replies: 1 comment 2 replies
-
Hi @databill86, did you figure this out on your own? Happy to help |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Thank you for this great tool. We are using it with
litellm
and it's really good.Actually, I'm trying to log scores into langfuse, I'm using Ragas for the evaluation. So far, it's a bit tricky to log both scores and generations of Ragas in the same place, at once.
For the scores, I have the
trace_id
for each completion, Now, the question is how to trace the prompts and generations used byragas
to get the scores and log them with the aforementioned completions.I'm using the
openAI sdk
and notlangfuse
for the generations. I've configuredlitellm
as the proxy.Is there a way to log the generations done by ragas to get the scores in the corresponding traces.
[UPDATE]: I updated the message, as I couldn't tackle the second problem.
Beta Was this translation helpful? Give feedback.
All reactions