Pedro Bueno

Results 4 comments of Pedro Bueno

Hey everyone, there is a workaround for this filtering. ```js vec = VectorStoreRetriever(vectorstore=vectorstore, search_kwargs={"where_document":{"$or": [{"$contains": "search_string_1"}, {"$contains": "search_string_1"}]}}) ```

You may use this. What kind os documents are you using? ```js texts = loader.load() docs = RecursiveCharacterTextSplitter(separator="\n\n",chunk_size=1000, chunk_overlap=0).transform_documents(texts) Pinecone.from_documents( docs, OpenAIEmbeddings(), index_name='test_index', namespace= 'test_namespace')```

It came from TextSplitter. ![image](https://user-images.githubusercontent.com/97570298/234669641-1c98db8d-50bd-45c0-b4a7-664c0c43fa0d.png)