Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Milvus-Lite #354

Open
hegdeashwin opened this issue Aug 26, 2024 · 3 comments
Open

Support for Milvus-Lite #354

hegdeashwin opened this issue Aug 26, 2024 · 3 comments

Comments

@hegdeashwin
Copy link

Describe the feature:

  1. 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

address: string;

Thus, wondering Milvus-Lite is not support for TypeScript/JavaScript.

Describe a specific use case for the feature:

  1. 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).
  2. Alternative solution were FaissStore or LanceDB but want to confirm of Milvus-Lite is supported for TS/JS
@shanghaikid
Copy link
Contributor

Sorry, I don't think milvus-lite is supported here : (

@hegdeashwin
Copy link
Author

Is Milvus team going to support this feature for milvus-sdk-node in near future? or Is this something which can be contributed from outside if it adds value?

@shanghaikid
Copy link
Contributor

I am looking at the source code, https://github.com/milvus-io/milvus-lite/tree/main/src. It looks like a completely new project, and I am not sure it is portable from cpp to typescript. I will ask the milvus team later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants