MCPcopy
hub / github.com/labring/FastGPT / deleteDatasetDataVector

Function deleteDatasetDataVector

packages/service/common/vectorDB/controller.ts:159–163  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

157};
158
159export const deleteDatasetDataVector: VectorControllerType['delete'] = async (props) => {
160 const result = await retryFn(() => Vector.delete(props));
161 await teamVectorCache.invalidate(props.teamId);
162 return result;
163};
164
165export const getVectorDataByTime = Vector.getVectorDataByTime;
166

Callers 6

delDatasetRelevantDataFunction · 0.90
delCollectionFunction · 0.90
controller.test.tsFile · 0.90
deleteVectorsMethod · 0.90
checkInvalidDatasetDataFunction · 0.90
checkInvalidVectorFunction · 0.90

Calls 3

retryFnFunction · 0.90
invalidateMethod · 0.80
deleteMethod · 0.65

Tested by

no test coverage detected