@gravityai-dev/pinecone
Version:
Pinecone vector database nodes for GravityWorkflow - knowledge management and vector operations
22 lines • 878 B
TypeScript
import { CredentialContext } from "../../../credentials";
/**
* Delete all vectors in a namespace
*/
export declare function deleteAllVectors(indexOperation: any, namespace: string, workflowId?: string, runId?: string): Promise<boolean>;
/**
* Delete all vectors from a Pinecone namespace with credential context
*/
export declare function deleteAllVectorsFromNamespaceWithContext(indexName: string, namespace: string | undefined, context: CredentialContext): Promise<{
success: boolean;
deletedCount?: number;
error?: string;
}>;
/**
* Delete all vectors from a Pinecone namespace (legacy)
*/
export declare function deleteAllVectorsFromNamespace(apiKey: string, indexName: string, namespace?: string, workflowId?: string, runId?: string): Promise<{
success: boolean;
deletedCount?: number;
error?: string;
}>;
//# sourceMappingURL=delete.d.ts.map