Closed Leonschmitt closed 3 months ago
Qdrant and LanceDB are not the only options for the Image Vector Store in LlamaIndex. Other vector stores can also be integrated. Here are some examples of how to integrate different vector stores:
Alibaba Cloud OpenSearch
from llama_index.vector_stores.alibabacloud_opensearch import (
AlibabaCloudOpenSearchStore,
AlibabaCloudOpenSearchConfig,
)
config = AlibabaCloudOpenSearchConfig(
endpoint="***",
instance_id="***",
username="your_username",
password="your_password",
table_name="llama",
)
vector_store = AlibabaCloudOpenSearchStore(config)
Amazon Neptune - Neptune Analytics
from llama_index.vector_stores.neptune import NeptuneAnalyticsVectorStore
graph_identifier = ""
embed_dim = 1536
neptune_vector_store = NeptuneAnalyticsVectorStore(
graph_identifier=graph_identifier, embedding_dimension=1536
)
Apache Cassandra®
from llama_index.vector_stores.cassandra import CassandraVectorStore
import cassio
# To use an Astra DB cloud instance through CQL:
cassio.init(database_id="1234abcd-...", token="AstraCS:...")
# For a Cassandra cluster:
from cassandra.cluster import Cluster
cluster = Cluster(["127.0.0.1"])
cassio.init(session=cluster.connect(), keyspace="my_keyspace")
# After the above `cassio.init(...)`, create a vector store:
vector_store = CassandraVectorStore(
table="cass_v_table", embedding_dimension=1536
)
For more examples and detailed documentation, you can refer to the example notebooks [1].
To continue talking to Dosu, mention @dosu.
I think any vector store should work?
Question Validation
Question
I have a question regarding the Image Vector Store. Is Qdrant and LanceDB the only options for the Image Vector Store, or can other vector stores also be used? If other vector stores are supported, could you please provide some exampe