Files
FastGPT/packages/service/common/vectorStore/controller.d.ts
2024-05-09 16:13:06 +08:00

21 lines
395 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 = {
teamId: string;
datasetIds: string[];
similarity?: number;
efSearch?: number;
};