The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Improvement[Community] Improve api doc for `PineconeHybridSearchRetriever` (#25803)
ZhangShenao3f1d652f15b4
diff --git a/libs/community/langchain_community/retrievers/pinecone_hybrid_search.py b/libs/community/langchain_community/retrievers/pinecone_hybrid_search.pyindex 2cf643359d..4c51779681 100644--- a/libs/community/langchain_community/retrievers/pinecone_hybrid_search.py+++ b/libs/community/langchain_community/retrievers/pinecone_hybrid_search.py@@ -42,6 +42,7 @@ def create_index(sparse_encoder: Sparse encoder to use.ids: List of ids to use for the documents.metadatas: List of metadata to use for the documents.+ namespace: Namespace value for index partition."""batch_size = 32_iterator = range(0, len(contexts), batch_size)