garyfeng / embedding_vector_search

prototyping global search for embedding vectors
Apache License 2.0
0 stars 0 forks source link

DOC: milvus bulk_import data format #9

Open garyfeng opened 1 year ago

garyfeng commented 1 year ago

Milvus documentation for bulk_import is sparse. The csv file has to be of the following specs, which I found out by reverse engineering -- first use attu to generate some sample data, then do a query and save the file.

book_id,word_count,book_intro
101,13,"[1.1,1.2]"
102,25,"[2.1,2.2]"
103,7,"[3.1,3.2]"
104,12,"[4.1,4.2]"
105,34,"[5.1,5.2]"

Then you can upload a file like this via the attu interface. Need to confirm this can be uploaded using the bulk_import() function.