Skip to content

Commit

Permalink
Add pagePaths property to AiAssistant model for enhanced functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
miya committed Dec 24, 2024
1 parent 752768a commit 0775170
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/app/src/features/openai/server/models/ai-assistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ interface AiAssistant {
name: string;
description: string
additionalInstruction: string
pagePaths: string[],
vectorStore: Ref<VectorStore>
types: AiAssistantType[]
owner: Ref<IUser>
Expand Down Expand Up @@ -73,6 +74,10 @@ const schema = new Schema<AiAssistantDocument>(
required: true,
default: '',
},
pagePaths: [{
type: String,
required: true,
}],
vectorStore: {
type: Schema.Types.ObjectId,
ref: 'VectorStore',
Expand Down

0 comments on commit 0775170

Please sign in to comment.