Replies: 2 comments 2 replies
-
|
Based on the available sources, when you upgrade Langfuse, new model definitions are included in the updated version but are only applied to newly ingested traces/generations by default(1). To apply new model definitions and prices to your existing historical data, you need to run a specific migration command(1): pnpm run models:migrateHowever, this command needs to be run from within the Langfuse repository with proper database configuration(1). Here are the steps:
This migration will apply the new model logic and prices to existing data in your database(1). The process is non-blocking and doesn't impact availability(1). After running this migration, you should see the newer models reflected in both your UI and database queries. Important: Make sure to remove the 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
I understand the confusion. While the documentation I referenced is titled "v1 to v2," the The key point is that when Langfuse includes support for new models in any update, these new model definitions are only applied to newly ingested traces by default(1). To apply them to existing data (which would also populate your Since you're on v3.147.0 (upgraded from v3.122.0), the same migration process applies: This migration is non-blocking and will populate your database with the newer model definitions that were added between v3.122.0 and v3.147.0(1). If this approach doesn't resolve your issue, there may be a different problem with how the models are being loaded or displayed in your specific setup that isn't covered in the available documentation. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your question
I self hosted langfuse about 6 months back. Here is what I have done so far
docker compose up --builddocker compose exec langfuse-worker pnpm run db:migrateHowever, I am unable to see newer models in my frontend UI, and I also dont see them in my DB as well when I run
I could not find links to relevant issues. Is there way to be able to get the latest modes as well when upgrading to newer langfuse version?
Langfuse Cloud or Self-Hosted?
Self-Hosted
If Self-Hosted
latest version. v3.147.0,
And version I was previously using: v3.122.0
If Langfuse Cloud
No response
SDK and integration versions
No response
Pre-Submission Checklist
Beta Was this translation helpful? Give feedback.
All reactions