Skip to content

Commit 441db10

Browse files
committed
up SKILL_MATCHING_SEMANTIC_THRESHOLD
1 parent 24f32bb commit 441db10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mastra/workflows/skills/skill-extraction-workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ const mapSemanticMatchesToState = createStep({
222222
stateSchema: extractionWorkflowStateSchema,
223223
execute: async ({ inputData, mastra, state, setState }) => {
224224
const logger = mastra?.getLogger?.();
225-
const threshold = Number(process.env.SKILL_MATCHING_SEMANTIC_THRESHOLD ?? 0.45);
225+
const threshold = Number(process.env.SKILL_MATCHING_SEMANTIC_THRESHOLD ?? 0.85);
226226

227227
const allMatches: z.infer<typeof scoredSkillSchema>[] = [];
228228
inputData.forEach(({ matches }) => {

0 commit comments

Comments
 (0)