From 1db34e6c031e4ca4a29982b46527a9a8b372c5a4 Mon Sep 17 00:00:00 2001 From: Mohamed Marrouchi Date: Wed, 2 Apr 2025 17:25:42 +0100 Subject: [PATCH] feat: apply feedback --- api/src/nlp/schemas/nlp-entity.schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/nlp/schemas/nlp-entity.schema.ts b/api/src/nlp/schemas/nlp-entity.schema.ts index 51b89b47..f16b129f 100644 --- a/api/src/nlp/schemas/nlp-entity.schema.ts +++ b/api/src/nlp/schemas/nlp-entity.schema.ts @@ -61,7 +61,7 @@ export class NlpEntityStub extends BaseSchema { /** * Entity's weight used to determine the next block to trigger in the conversational flow. */ - @Prop({ type: Number, default: 1, unique: false }) + @Prop({ type: Number, default: 1 }) weight: number; /**