-
Notifications
You must be signed in to change notification settings - Fork 130
docs: Visualization example with Qdrant #17
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Anush008 <[email protected]>
Hi @Anush008, thanks for your interest in Embedding Atlas, and for the new example notebook! Since the notebook mostly focuses on the Qdrant API and use case of wrangling data into a pd.df, this feels like it would be better located in an example folder over there. |
Hey @fredhohman 👋 This example also demonstrates building a UMAP with your own vectors and computing its nearest neighbours for viz. |
Embedding atlas has code for computing nearest neighbors already (called in
|
Hey @domoritz. Seems to me that
finds the nearest neighbours after generating new vector embeddings using a SentenceTransformer model. Whereas this new example uses vectors that are already available in the Qdrant collection. |
Ah, thanks for pointing out the difference. I still think we should not add this example at the moment given the explanations above and the fact that we don't want multiple ways to do the same thing at the moment. Maybe I'm missing it but qdrant needs a server running and can't just be used as a python library, right? Or is the approach you propose here much much faster? If so, please add more details to the description of the pull request. The original description made it seem like this is just another way to use embedding atlas but with a proprietary tool. |
Hey.
This PR demonstrates a bring your own vectors approach when using Embedding Atlas. Also note that Qdrant is not proprietary. It is an open-source project licensed under Apache 2.0. |
#21 adds a feature to the cli to bring your own embedding. Maybe this addresses a part of the concern you had with not having an example for how to use your own embeddings. Having a dedicated example in Jupyter makes sense but I wouldn't conflate it with Qdrant which seems orthogonal. |
Hey 👋
Description
This PR adds an example Jupyter Notebook demonstrating usage of Embedding Atlas and Qdrant.
The example: