You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can now update your score configurations. Previously, once you created a score config, you couldn't change it. Now you can modify them anytime while keeping all your existing data safe.
14
+
15
+
## What's Changed
16
+
17
+
-**You can now update score configs**: Modify names, data types, and value ranges of existing configurations
18
+
-**Available via API/SDK and UI**: Update configs programmatically through the API/SDK or directly in the Langfuse interface
19
+
-**Your existing data stays safe**: All current scores remain unchanged when you update a config
20
+
-**Clear update rules**: New scores follow the updated configuration
Copy file name to clipboardExpand all lines: pages/faq/all/manage-score-configs.mdx
+26-4Lines changed: 26 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ tags: [evaluation]
14
14
To understand detailed properties of the `ScoreConfig` object, see [Scores Data Model](/docs/evaluation/evaluation-methods/data-model#score-config).
15
15
16
16
## Via SDK
17
-
### Create a Score Config
17
+
### Create or Update a Score Config
18
18
19
-
To create a `scoreConfig` via the Langfuse SDK you need to use the `api` property on the Langfuse client as specified [here](/docs/api-and-data-platform/features/public-api#access-via-sdks). The specific `POST` and `GET` API endpoints are documented in the [API reference](/docs/api).
19
+
To create or update a `scoreConfig` via the Langfuse SDK you need to use the `api` property on the Langfuse client as specified [here](/docs/api-and-data-platform/features/public-api#access-via-sdks). The specific `POST`, `PATCH` and `GET` API endpoints are documented in the [API reference](/docs/api).
20
20
21
21
### Use a Score Config
22
22
23
-
Using `ScoreConfig` via the SDK most commonly happens in the context of [Custom Evaluation via API/SDK (find instructions how to do that here)](/docs/evaluation/evaluation-methods/custom-scores#score-ingestion-referencing-configs-via-sdk).
23
+
Using `ScoreConfig` via the SDK most commonly happens in the context of [Custom Evaluation via API/SDK (find instructions how to do that here)](/docs/evaluation/evaluation-methods/custom-scores#score-ingestion-referencing-configs-via-sdk).
24
24
25
25
## Via Langfuse UI
26
26
### Create a Score Config
@@ -53,6 +53,28 @@ Click **"submit"** to create the score config.
53
53
Using `ScoreConfig` via the UI most commonly happens in the context of [Human Annotation](/docs/evaluation/evaluation-methods/annotation).
54
54
55
55
56
+
### Update a score config
57
+
58
+
<Steps>
59
+
60
+
#### Go to Project Settings
61
+
Navigate to `Your Project` > `Project Settings` > `Scores / Evaluation` and click on the "edit" icon of the score config you want to update.
- All existing score data remains unaffected when you update a score config.
71
+
- When creating new scores, they must comply with the current score config schema at the time of creation.
72
+
- When updating existing scores (such as changing score values or comments), they must comply with the score config schema that is active at the time of the update.
73
+
- You can always delete scores regardless of whether their associated score config has been modified or archived.
74
+
</Steps>
75
+
76
+
77
+
56
78
### Archive a score config
57
79
58
80
<Steps>
@@ -61,7 +83,7 @@ Using `ScoreConfig` via the UI most commonly happens in the context of [Human An
61
83
Navigate to `Your Project` > `Project Settings` > `Scores / Evaluation` and click on the "archive" icon of the score config you want to archive.
0 commit comments