| 123456789101112131415161718 |
- import type { IUser, Ref, HasObjectId } from '@growi/core';
- import type { IVectorStore } from './vector-store';
- export interface IThreadRelation {
- userId: Ref<IUser>
- vectorStore: Ref<IVectorStore>
- threadId: string;
- title?: string;
- expiredAt: Date;
- }
- export type IThreadRelationHasId = IThreadRelation & HasObjectId;
- export type IApiv3DeleteThreadParams = {
- aiAssistantId: string
- threadRelationId: string;
- }
|