vizhub-core / vizhub

VizHub Platform V3
12 stars 1 forks source link

Embedding-based Search #103

Open curran opened 1 year ago

curran commented 1 year ago

As a user, I want to search VizHub by entering keywords or a question.

This search should use vector similarity search

The results I want to be able to find include:

curran commented 1 year ago

https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb

curran commented 1 year ago

https://towardsdatascience.com/how-i-turned-my-companys-docs-into-a-searchable-database-with-openai-4f2d34bd8736

curran commented 1 year ago

When it comes to storing vectors in Redis... The ID can contain some information about what kind of thing the vector is attached to

curran commented 1 year ago

UI Inspiration from GitHub for presenting search results of multiple types:

Image

From Observable

Image

Image

Image

curran commented 1 year ago

https://redis.com/blog/how-to-build-a-knowledge-base-platform-using-redis/

curran commented 1 year ago

PoC: MongoDB has vector similarity search!

curran commented 1 year ago

image

Kinds of results like this:

image

curran commented 1 year ago

image

curran commented 1 year ago

Image

curran commented 1 year ago

Search text: folder:@somrOrg/someFolder maps

Filter by:

curran commented 9 months ago