|
@@ -1,10 +1,12 @@
|
|
|
import type { IUser, Ref, HasObjectId } from '@growi/core';
|
|
import type { IUser, Ref, HasObjectId } from '@growi/core';
|
|
|
|
|
|
|
|
|
|
+import type { AiAssistant } from './ai-assistant';
|
|
|
import type { IVectorStore } from './vector-store';
|
|
import type { IVectorStore } from './vector-store';
|
|
|
|
|
|
|
|
export interface IThreadRelation {
|
|
export interface IThreadRelation {
|
|
|
userId: Ref<IUser>
|
|
userId: Ref<IUser>
|
|
|
vectorStore: Ref<IVectorStore>
|
|
vectorStore: Ref<IVectorStore>
|
|
|
|
|
+ aiAssistant: Ref<AiAssistant>
|
|
|
threadId: string;
|
|
threadId: string;
|
|
|
title?: string;
|
|
title?: string;
|
|
|
expiredAt: Date;
|
|
expiredAt: Date;
|