🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore(assistant): refresh embedded Langfuse skills (#18110)
langfuse-botc067adb47b35
diff --git a/packages/langfuse-skills/src/generated/skills.js b/packages/langfuse-skills/src/generated/skills.jsindex 10c055bf68..c39e1b2b96 100644--- a/packages/langfuse-skills/src/generated/skills.js+++ b/packages/langfuse-skills/src/generated/skills.js@@ -63,7 +63,7 @@ exports.LANGFUSE_SKILLS = [description:"Set up evaluation by finding gaps across signal capture, monitoring, and evaluator metrics, then addressing the right one first.",instructions:- "# Setting up evals\n\nAct as a PM, analyst, teacher, and at the end, an executor. The bulk of the work consists of probing the user to really understand what they are looking for, and get a clear picture of what would serve them best. This is not always exactly what they ask you for, and it's up to you to do your research, ask the right questions, and use your judgment. Only go into any implementation mode when it's crystal clear what the right solution for this user looks like.\n\n## 1. Determine Online or Offline\n\nDetermine whether the user is looking for online or offline evaluation. If the goal is unclear, ask which decision the user is trying to make. If they need both, establish which one to address first.\n\n## 2. Establish the Metric Set\n\nIf the user supplied metrics, review them against the application, available data, and intended decision. A useful metric names a specific observable behavior, is measurable, and changes a decision. Challenge vague or unhelpful metrics and propose sharper alternatives. Read [Choosing what to evaluate](https://langfuse.com/academy/evaluate/choosing-what-to-evaluate) to help you judge the metric.\n\nIf the user did not supply metrics:\n\n- **Online:** The user likely doesn't know what they want. Execute the complete [User Feedback](user-feedback.md) workflow, backfill derivable signals where possible. Explain to the user why this is the right step to take. People often say they want evals without knowing what they actually need. This is one such case. You are completing their request by executing the user-feedback workflow.\n- **Offline:** inspect existing datasets and experiment results, then ask questions to determine:\n 1. is the user happy with their datasets, or do they want to evaluate something they don't have a dataset for?\n 2. if they want to use an existing dataset, do they already manually review experiment outputs on that dataset, and if yes, what do they look for?\n These questions should help narrow down what's important to the user and what you should focus on. Read [Choosing what to evaluate](https://langfuse.com/academy/evaluate/choosing-what-to-evaluate) to come up with high quality metrics to evaluate.\n\n\nPresent the resulting metric set as one table with: Priority; Status (existing or new); Metric; Source or evidence; Why it matters and what decision it informs; and Measurability. Revise it with the user and do not proceed until they explicitly confirm it.\n\n## 3. Implement and Verify\n\nAfter the metric set is confirmed:\n\n- **Online:** follow [Writing good evaluators](https://langfuse.com/academy/evaluate/writing-evaluators), then implement and verify the online evaluators.\n- **Offline:** confirm that an appropriate dataset exists. If not, execute [Dataset Construction](create-dataset.md). Then implement the evaluators and run the experiment.\n\nDo not default to an LLM-as-a-judge. When methods have significant trade-offs and none is clearly superior, present the options and let the user decide.\n\nFor evaluator functionality, use the unstable API endpoints.\n\n- Before creating an evaluator, fetch the observations matched by its target filter and confirm that they are correct and will not be scored twice.\n- Name the score after what is measured (`refusal`), not the evaluator (`refusal judge`).\n- If an LLM-as-a-judge is the best fit, calibrate it on real examples before treating it as ready.\n- Share a link to each evaluator.",+ "# Setting up evals\n\nAct as a PM, analyst, teacher, and at the end, an executor. The bulk of the work consists of probing the user to really understand what they are looking for, and get a clear picture of what would serve them best. This is not always exactly what they ask you for, and it's up to you to do your research, ask the right questions, and use your judgment. Only go into any implementation mode when it's crystal clear what the right solution for this user looks like.\n\n## 1. Determine Online or Offline\n\nDetermine whether the user is looking for online or offline evaluation. If the goal is unclear, ask which decision the user is trying to make. If they need both, establish which one to address first.\n\n## 2. Establish the Metric Set\n\nIf the user supplied metrics, review them against the application, available data, and intended decision. A useful metric names a specific observable behavior, is measurable, and changes a decision. Challenge vague or unhelpful metrics and propose sharper alternatives. Read [Choosing what to evaluate](https://langfuse.com/academy/evaluate/choosing-what-to-evaluate) to help you judge the metric.\n\nIf the user did not supply metrics:\n\n- **Online:** The user likely doesn't know what they want. Execute the complete [User Feedback](user-feedback.md) workflow, backfill derivable signals where possible. Explain to the user why this is the right step to take. People often say they want evals without knowing what they actually need. This is one such case. You are completing their request by executing the user-feedback workflow.\n- **Offline:** inspect existing datasets and experiment results, then ask questions to determine:\n 1. is the user happy with their datasets, or do they want to evaluate something they don't have a dataset for?\n 2. if they want to use an existing dataset, do they already manually review experiment outputs on that dataset, and if yes, what do they look for?\n These questions should help narrow down what's important to the user and what you should focus on. Read [Choosing what to evaluate](https://langfuse.com/academy/evaluate/choosing-what-to-evaluate) to come up with high quality metrics to evaluate.\n\n\nPresent the resulting metric set as one table with: Priority; Status (existing or new); Metric; Source or evidence; Why it matters and what decision it informs; and Measurability. Revise it with the user and do not proceed until they explicitly confirm it.\n\n## 3. Implement and Verify\n\nAfter the metric set is confirmed:\n\n- **Online:** follow [Writing good evaluators](https://langfuse.com/academy/evaluate/writing-evaluators), then implement and verify the online evaluators.\n- **Offline:** confirm that an appropriate dataset exists. If not, execute [Dataset Construction](create-dataset.md). Then implement the evaluators and run the experiment.\n\nDo not default to an LLM-as-a-judge. When methods have significant trade-offs and none is clearly superior, present the options and let the user decide.\n\nFor evaluator functionality, use the unstable API endpoints.\n\n- Before creating an evaluator, fetch the observations matched by its target filter and confirm that they are correct and will not be scored twice.\n- Name the score after what is measured (`refusal`), not the evaluator (`refusal judge`).\n- If the project has a clear existing naming convention, follow it when creating a new evaluator and score. Consider naming best practices, but prioritize the existing project convention.\n- If an LLM-as-a-judge is the best fit, calibrate it on real examples before treating it as ready.\n- Share a link to each evaluator.",},{name: "langfuse-skill-feedback",