milvus-sdk-node
milvus-sdk-node copied to clipboard
Support for Milvus-Lite
Describe the feature:
- Would like to create collection, store vectors, search, query and delete embeddings on Milvus-Lite (Embedded Vector Store like pymilvus).
For Example using Python:
from pymilvus import MilvusClient
import numpy as np
client = MilvusClient("./milvus_demo.db")
client.create_collection(
collection_name="demo_collection",
dimension=384 # The vectors we will use in this demo has 384 dimensions
)
Here I don't need a Milvus Standalone server. Would like to do same in TypeScript as well using @zilliz/milvus2-sdk-node
or some other way.
import { MilvusClient } from '@zilliz/milvus2-sdk-node';
const milvusClient = new MilvusClient({
address: 'localhost:19530',
});
Here address field is required https://github.com/milvus-io/milvus-sdk-node/blob/3448094666ec5e1eba63c6530e8f6e87e0f9ec61/milvus/types/Client.ts#L17
Thus, wondering Milvus-Lite is not support for TypeScript/JavaScript.
Describe a specific use case for the feature:
- I'm working on VSCode Plugin which is written in TypeScript. Have to build RAG functionality for which I need "embedding vector store" for Local Context (No remote).
- Alternative solution were FaissStore or LanceDB but want to confirm of Milvus-Lite is supported for TS/JS