langchain/docs/modules/indexes/retrievers/examples
Andreas Liebschner 44dc959584
Improve pinecone hybrid search retriever adding metadata support (#5098)
# Improve pinecone hybrid search retriever adding metadata support

I simply remove the hardwiring of metadata to the existing
implementation allowing one to pass `metadatas` attribute to the
constructors and in `get_relevant_documents`. I also add one missing pip
install to the accompanying notebook (I am not adding dependencies, they
were pre-existing).

First contribution, just hoping to help, feel free to critique :) 
my twitter username is `@andreliebschner`

While looking at hybrid search I noticed #3043 and #1743. I think the
former can be closed as following the example right now (even prior to
my improvements) works just fine, the latter I think can be also closed
safely, maybe pointing out the relevant classes and example. Should I
reply those issues mentioning someone?

@dev2049, @hwchase17

---------

Co-authored-by: Andreas Liebschner <a.liebschner@shopfully.com>
2023-05-22 11:42:54 -07:00
..
arxiv.ipynb Add arxiv retriever (#4538) 2023-05-11 22:48:38 -07:00
azure-cognitive-search-retriever.ipynb Add azure cognitive search retriever (#4467) 2023-05-10 15:27:27 -07:00
chatgpt-plugin.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
chroma_self_query.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
cohere-reranker.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
contextual-compression.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
databerry.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
elastic_search_bm25.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
knn.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
metal.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
pinecone_hybrid_search.ipynb Improve pinecone hybrid search retriever adding metadata support (#5098) 2023-05-22 11:42:54 -07:00
self_query.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
svm.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
tf_idf.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
time_weighted_vectorstore.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
vectorstore.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
vespa.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
weaviate_self_query.ipynb Add self query translator for weaviate vectorstore (#4804) 2023-05-19 16:41:12 -07:00
weaviate-hybrid.ipynb docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
wikipedia.ipynb Typos (#4851) 2023-05-17 11:52:22 -04:00
zep_memorystore.ipynb Zep Retriever - Vector Search Over Chat History (#4533) 2023-05-18 16:27:18 -07:00