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; /**