diff --git a/apps/app/src/features/openai/server/models/ai-assistant.ts b/apps/app/src/features/openai/server/models/ai-assistant.ts index e6beb9ffdc9..fe075735d99 100644 --- a/apps/app/src/features/openai/server/models/ai-assistant.ts +++ b/apps/app/src/features/openai/server/models/ai-assistant.ts @@ -40,6 +40,7 @@ interface AiAssistant { name: string; description: string additionalInstruction: string + pagePaths: string[], vectorStore: Ref types: AiAssistantType[] owner: Ref @@ -73,6 +74,10 @@ const schema = new Schema( required: true, default: '', }, + pagePaths: [{ + type: String, + required: true, + }], vectorStore: { type: Schema.Types.ObjectId, ref: 'VectorStore',