Using langchain I want to search vector similarity from two or more i namespace in pinecone database

Using langchain I want to search vector similarity from two or more i namespace in pinecone database
is there any way to do so?

It’s not possible to search across multiple namespaces with one query. But you can query each namespace separately and manually combine or rerank the results.

If you need to search across datasets, consider using metadata fields instead of namespaces.

See: Multitenancy