Langfuse

Import production traces from Langfuse into Narev.

Use your production traces as test datasets. Instead of guessing which model works better, test against the prompts your users are actually sending.

Prerequisites

  • An active Langfuse account with production traces
  • Langfuse API credentials (Secret Key and Public Key)
  • Production traces in your Langfuse project

Setup

  1. Create a new A/B test
  2. Navigate to Setup tab
  3. In the Data Source section select Import from traces
  4. Select Langfuse as provider
  5. Enter your credentials:
    • Project Name: Your Langfuse project identifier
    • Secret Key: Your Langfuse secret key (sk-lf-...)
    • Public Key: Your Langfuse public key (pk-lf-...)
    • Host: Your Langfuse instance URL (default: https://cloud.langfuse.com)
  6. Select your Date Range (default: last 7 days)
  7. Click Save Project to import traces

Import traces from Langfuse interface

Self-Hosted Support

Narev supports both Langfuse Cloud and self-hosted instances. When connecting your project, update the Host field to your self-hosted Langfuse URL.

FAQ