Skip to content

Commit

Permalink
update freshness description in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
leihelen committed Nov 17, 2024
1 parent 24ab2a4 commit 5568155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/db/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const ClassSchema = new Schema<ClassDocument>({
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<ClassDocument>("classes", ClassSchema);
Expand Down

0 comments on commit 5568155

Please sign in to comment.