This is a simple in-memory vector database. Not for use in production.
This is just a basic vector database that uses k-means to reduce the number of vector lookups. See links below for more advanced indexing methods that will help with speedups.
See examples for some code examples.
Pinecone has some great articles ("vector indexes") and especially some of the videos from James Briggs on the subject ("Faiss - Introduction to Similarity Search") made things easier to grasp.
These are also good resources