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

How to use upload command #1

Open
anyon17 opened this issue Aug 20, 2024 · 19 comments
Open

How to use upload command #1

anyon17 opened this issue Aug 20, 2024 · 19 comments

Comments

@anyon17
Copy link

anyon17 commented Aug 20, 2024

Much thanks for this amazing implementation! I wanted to use the CLI and wondering how can I use upload command, for example given the dataset inside query_set, what can be the graph_meta_data ?

@ClankPan
Copy link
Owner

Hi, thank you for creating the issue!

The CLI tool in the main branch is currently not intended for general use, as it was originally written for my demo app. I am now updating it for practical use cases and it will likely be ready by next week. If you're interested, please check out the develop/kinic_db_instance branch.

@anyon17
Copy link
Author

anyon17 commented Aug 20, 2024

Thanks @ClankPan for the quick response. I checked the mentioned branch. I believe only graph meta data is missing on the main branch to make upload command work if I am not wrong. Can you provide the json for that here itself and I can give it a run on my end?

@ClankPan
Copy link
Owner

In addition to graph_metadata, you also need source_data, both of which are built using ssd-vectune

@anyon17
Copy link
Author

anyon17 commented Aug 21, 2024

ohh yes. So can you just add the command for upload as well with both these data in the README so that I can try to upload and test out the search command.

@ClankPan
Copy link
Owner

Yeah, I'm working for that.
Could you share your use case for reference?

@anyon17
Copy link
Author

anyon17 commented Aug 21, 2024

ohh okay great, looking forward for the completing. I am interested in modifying the ic-vectune to wire it in my own vector db server (that too powered by Vectune). I am able to port the server part by going through your vectune smart contract, just the last bits of the CLI is remaining, namely the source_data and graph_meta_data. For storage, I have my custom persistence layer.

@anyon17
Copy link
Author

anyon17 commented Aug 21, 2024

Hey @ClankPan just a question, how did you uploaded the data for your case ? so that the command you have mentioned for search works ? Because my whole porting is almost done with just these two data i.e. graph_metadata and source_data_path remains. I will surely wait for your work to complete. Thanks again for the amazing work!

@ClankPan
Copy link
Owner

Will you deploy it to InternetComputer? or is it for another platform?

@anyon17
Copy link
Author

anyon17 commented Aug 21, 2024

This is another platform

@ClankPan
Copy link
Owner

ClankPan commented Aug 21, 2024

OK. If you need them ASAP, I recommend checking out ssd-vectune. Unfortunately, it is a bit unorganized at the moment, but you can take a look at the build code of them.

If you have any questions, feel free to ask me because there are no comments in the code.

https://github.com/ClankPan/ssd-vectune/blob/0c5ae4614a639f7a83765ca08916036a5f5a357c/src/main.rs#L554-L564

@anyon17
Copy link
Author

anyon17 commented Aug 21, 2024

Hey much thanks @ClankPan for the quick revert and the help . Will check that out!

@ClankPan
Copy link
Owner

I'm going to bed now so I expect to replay after 8 hours.

@anyon17
Copy link
Author

anyon17 commented Sep 16, 2024

Hey @ClankPan any updates on this ?

@anyon17
Copy link
Author

anyon17 commented Oct 20, 2024

hey @ClankPan can you please help with the issue ?

@ClankPan
Copy link
Owner

Ah sorry, I forget to marge the change into main branch.

@ClankPan
Copy link
Owner

I will write some documents.

@anyon17
Copy link
Author

anyon17 commented Oct 23, 2024

Ohh thanks @ClankPan for the reply. Will wait for the document then. Thanks.

@anyon17
Copy link
Author

anyon17 commented Nov 1, 2024

hey @ClankPan can you mention an approx. date by which the docs will be up ? need that to evaluate time on my side.

@anyon17
Copy link
Author

anyon17 commented Nov 4, 2024

hey @ClankPan any updates here ?

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