Skip to content

Commit

Permalink
fix: fuzzy key stage from correct table (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
mantagen authored Sep 12, 2024
1 parent 68b9cd1 commit f7740ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/rag/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ Thank you and happy classifying!`;
this._chatMeta,
);
if (categorisation.keyStage) {
foundKeyStage = await this.prisma.subject.findFirst({
foundKeyStage = await this.prisma.keyStage.findFirst({
where: {
slug: categorisation.keyStage,
},
Expand Down

0 comments on commit f7740ac

Please sign in to comment.