Skip to content

integrate response feedback with langfuse#46

Merged
PascalEgn merged 1 commit into
inspirehep:masterfrom
miguelgrc:response-feedback-langfuse
Jul 24, 2025
Merged

integrate response feedback with langfuse#46
PascalEgn merged 1 commit into
inspirehep:masterfrom
miguelgrc:response-feedback-langfuse

Conversation

@miguelgrc
Copy link
Copy Markdown
Contributor

@miguelgrc miguelgrc commented Jul 21, 2025

Closes cern-sis/issues-inspire#993

Integrates the UI feedback elements with the langfuse user feedback tracing.

  • Added also a comment button next to the existing thumbs up and thumbs down
  • Feedback is linked to the langfuse trace of the response
  • When clicking back and forth between thumbs up/down or adding a comment, the feedback is linked with the langfuse score_id for that trace, in order to prevent duplicate entries, and will instead do an upsert.
  • When adding a comment with no rating selected, the thumbs up will be selected by default (it can be modified by the user afterwards)

@PascalEgn PascalEgn merged commit b6de8f4 into inspirehep:master Jul 24, 2025
1 check passed
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.

Integrate playground response feedback with langfuse

2 participants