From 5568155769dd2f7c8f4354453d368ed476ecbc37 Mon Sep 17 00:00:00 2001 From: Helen Lei Date: Sun, 17 Nov 2024 18:10:45 -0500 Subject: [PATCH] update freshness description in schema --- server/db/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/db/schema.ts b/server/db/schema.ts index 7edfd68c..af5fe23b 100644 --- a/server/db/schema.ts +++ b/server/db/schema.ts @@ -37,7 +37,7 @@ const ClassSchema = new Schema({ of: [{ type: String }, { type: String }], // tuple where first element is the adjective and second element is its connotation required: false }, // tags describing lectures, assignments, professors, skills, and resources - summaryFreshness: { type: Number, default: 0 } // number of reviews since last openAI call + summaryFreshness: { type: Number, default: 0 } // number of reviews since last openAI call divided by total course reviews }); export const Classes = mongoose.model("classes", ClassSchema);