Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
community: Add configurable text key for indexing and the retriever i…
…n Pinecone Hybrid Search (langchain-ai#29697) **issue** In Langchain, the original content is generally stored under the `text` key. However, the `PineconeHybridSearchRetriever` searches the `context` field in the metadata and cannot change this key. To address this, I have modified the code to allow changing the key to something other than context. In my opinion, following Langchain's conventions, the `text` key seems more appropriate than `context`. However, since I wasn't sure about the author's intent, I have left the default value as `context`.
- Loading branch information