A Node.js gRPC client library (v1.7.17) for Vald, an AI-powered vector similarity search engine. This client enables inserting, updating, searching, and removing vectors via gRPC with support for both CommonJS and ESM. It ships TypeScript types and targets Node.js >=18.16.0. Compared to other vector database clients, it is optimized for Vald's cloud-native architecture and offers auto-indexing and distributed search capabilities.
npm install vald-client-nodeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to instantiate a ValdClient, insert a vector, and perform a similarity search.
Update constructor call to include credentials as second argument.
Use SearchRequest.vectorObject for new projects.
Set a deadline on the gRPC call options, e.g., { deadline: new Date(Date.now() + 5000) }.Ensure you set the correct field based on vector type: floatVector vs binaryVector.
Replace with IndexInfoRequest and IndexInfoResponse.
Upgrade Vald server to v1.7 or later, or check the server's available methods.
Use: const client = new ValdClient(...);
Pass metadata as a plain object: { key: 'value' }.Ensure Vald server is running and accessible at the given host:port.