Migration from LangSmith to Self-Hosted Langfuse (Prompts, Datasets, Traces) #12278
Replies: 3 comments 1 reply
|
While the available documentation doesn't specifically cover migrating from LangSmith to Langfuse, there is a comprehensive guide for migrating data between Langfuse projects that demonstrates the core patterns you'll need(1). Migration ApproachThe documented migration cookbook provides Python code for transferring prompts, traces, and datasets between Langfuse instances using the Public API(1). This same approach can be adapted for LangSmith migration by:
Key Migration ComponentsPrompts MigrationThe documentation shows how to migrate prompts including version history(1). The code handles both chat and text prompt types and preserves labels, configuration, and tags(1). Traces MigrationFor traces, the guide demonstrates transforming trace data into ingestion batch events(1). The key pattern involves:
Datasets MigrationDataset migration includes dataset items with inputs, expected outputs, and metadata(1). Important ConsiderationsRate Limits: Be mindful of API rate limits on your Langfuse instance. Large migrations might require implementing back-off logic or running in batches(1). Prerequisites: You'll need access to both source and destination projects with appropriate API keys(1). Time Filtering: The migration code supports optional time filters to migrate data from specific date ranges(1). Recommended Next Steps
For the complete working code examples including batch processing and error handling, refer to the migration guide(1). 📚 Sources: Have another question? Just tag @inkeep. |
|
Hi @hiteshbalapanuru11, thanks. Unfortunately, we don't have any guides on migrating LangSmith data to Langfuse at this point. |
|
Thanks for the clarification.I appreciate the response. Are there any plans to publish documentation or guidance for migrating data from LangSmith to LangFuse in the future? |
Uh oh!
There was an error while loading. Please reload this page.
Describe your question
Hello,
I am currently using LangSmith and would like to migrate my assets to a self-hosted Langfuse instance.
Specifically, I’m looking to migrate:
I would appreciate guidance on best practices for:
If there are recommended schemas, APIs, or migration utilities available, examples would be very helpful.
Thanks in advance for your guidance!
Langfuse Cloud or Self-Hosted?
Self-Hosted
If Self-Hosted
No response
If Langfuse Cloud
No response
SDK and integration versions
No response
Pre-Submission Checklist
All reactions