forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
f668251948
# Parameterize Redis vectorstore index Redis vectorstore allows for three different distance metrics: `L2` (flat L2), `COSINE`, and `IP` (inner product). Currently, the `Redis._create_index` method hard codes the distance metric to COSINE. I've parameterized this as an argument in the `Redis.from_texts` method -- pretty simple. Fixes #4368 ## Before submitting I've added an integration test showing indexes can be instantiated with all three values in the `REDIS_DISTANCE_METRICS` literal. An example notebook seemed overkill here. Normal API documentation would be more appropriate, but no standards are in place for that yet. ## Who can review? Not sure who's responsible for the vectorstore module... Maybe @eyurtsev / @hwchase17 / @agola11 ? |
1 year ago | |
---|---|---|
.. | ||
docarray | 1 year ago | |
__init__.py | 1 year ago | |
analyticdb.py | 1 year ago | |
annoy.py | 1 year ago | |
atlas.py | 1 year ago | |
base.py | 1 year ago | |
chroma.py | 1 year ago | |
deeplake.py | 1 year ago | |
elastic_vector_search.py | 1 year ago | |
faiss.py | 1 year ago | |
lancedb.py | 1 year ago | |
milvus.py | 1 year ago | |
myscale.py | 1 year ago | |
opensearch_vector_search.py | 1 year ago | |
pgvector.py | 1 year ago | |
pinecone.py | 1 year ago | |
qdrant.py | 1 year ago | |
redis.py | 1 year ago | |
supabase.py | 1 year ago | |
tair.py | 1 year ago | |
utils.py | 1 year ago | |
weaviate.py | 1 year ago | |
zilliz.py | 1 year ago |