@zilliz/milvus2-sdk-node
Version:
Official Node.js SDK for [Milvus](https://github.com/milvus-io/milvus) vector database. Provides gRPC and HTTP clients for vector similarity search, metadata filtering, and full collection/index/user management.
15 lines (14 loc) • 561 B
TypeScript
/**
* Generates an authentication string based on the provided credentials.
*
* @param {Object} data - An object containing the authentication credentials.
* @param {string} [data.username] - The username to use for authentication.
* @param {string} [data.password] - The password to use for authentication.
* @param {string} [data.token] - The token to use for authentication.
* @returns {string} The authentication string.
*/
export declare const getAuthString: (data: {
username?: string;
password?: string;
token?: string;
}) => string;