Files
FastGPT/packages/service/common/vectorStore/controller.d.ts
2024-04-09 21:38:47 +08:00

20 lines
377 B
TypeScript

export type DeleteDatasetVectorProps = (
| { id: string }
| { datasetIds: string[]; collectionIds?: string[] }
| { idList: string[] }
) & {
teamId: string;
};
export type InsertVectorProps = {
teamId: string;
datasetId: string;
collectionId: string;
};
export type EmbeddingRecallProps = {
datasetIds: string[];
similarity?: number;
efSearch?: number;
};