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 host a live 3D view with Flask, vite, react-three-fiber with my custom data? #13

Open
WithFoxSquirrel opened this issue Oct 25, 2024 · 1 comment

Comments

@WithFoxSquirrel
Copy link

When i run visualize_collection(vector_store._collection), i just get the raw data in web page. I have no idea about web develop, could you show me how to visualize the data with vite as your screenshot demonstration

@coffeecodeconverter
Copy link

coffeecodeconverter commented Dec 31, 2024

this might help you
#15

if you've downloaded the project and run the test file, it only has a few randomly generated data points.
Whereas, you probably want to visualize an existing database instead?
in which case, you need a different script to point to a persistent chromadB database (SQLLite file)
the article above shows how to do that.

when its working, all you see are coloured data points with lines between them, where if you hover your mouse over any node/data point you see the id, document, and metadata it represents.

NOTE:
the collection you point it to must have 50+ documents, otherwise you'll get a 500 internal server error - see here:
#6

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