Skip to content

Commit c8ea22c

Browse files
authored
Merge pull request #16 from topcoder-platform/prefix-temp-workaroud
up SKILL_MATCHING_SEMANTIC_THRESHOLD -> master
2 parents 6362e03 + 441db10 commit c8ea22c

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)