docs: add webhook implementation details for remote SDK experiments#2560
Open
daffaalex22 wants to merge 2 commits intolangfuse:mainfrom
Open
docs: add webhook implementation details for remote SDK experiments#2560daffaalex22 wants to merge 2 commits intolangfuse:mainfrom
daffaalex22 wants to merge 2 commits intolangfuse:mainfrom
Conversation
Updated the documentation for triggering SDK experiments from the Langfuse UI. Added details about webhook configuration, payload structure, and provided examples for webhook receivers in Python and JavaScript.
|
@daffaalex22 is attempting to deploy a commit to the langfuse Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
@jannikmaierhoefer @Steffen911 @felixkrrr I was trying to implement the Webhook for Remote SDK Experiment Run and confused with the request body Langfuse sends. This will hopefully help others like me |
Removed optional step for computing and ingesting evaluation scores.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR expands the documentation for "Trigger SDK Experiment from UI" to provide a complete guide for developers setting up remote experiment triggers. It fills the gap between configuring the UI and actually implementing the webhook receiver that processes the trigger.
Core Highlight: Webhook Payload
The most important addition is the technical specification of the webhook payload. Specifically:
Detailed Changes
Rationale
While the "Custom Experiment" trigger is a powerful feature, developers often struggle with the "how-to" of the receiving end. Providing the exact payload shape makes it much easier for users to integrate their own evaluation pipelines.
Important
Enhances documentation with detailed webhook setup and implementation examples for remote SDK experiments in Langfuse.
experiments-via-sdk.mdx.This description was created by
for 4a6aba8. You can customize this summary. It will automatically update as commits are pushed.