StarRocks(
self,
embedding: Embeddings,
config: Optional[StarRocksSettings] = None,
**kwargs| Name | Type |
|---|---|
| embedding | Embeddings |
| config | Optional[StarRocksSettings] |
StarRocks vector store.
You need a pymysql python package, and a valid account
to connect to StarRocks.
Right now StarRocks has only implemented cosine_similarity function to
compute distance between two vectors. And there is no vector inside right now,
so we have to iterate all vectors and compute spatial distance.
For more information, please visit StarRocks official site StarRocks github
Insert more texts through the embeddings and add to the VectorStore.
Create StarRocks wrapper with existing texts
Perform a similarity search with StarRocks
Perform a similarity search with StarRocks by vectors
Perform a similarity search with StarRocks
Helper function: Drop data