Getting similarity search in the specific namespaces

I have multiple namespaces in Pinecone, and I would like to query a specific namespaces.

@abhisheknegi Please see the documentation on Querying by namespace and Query in the API Reference.

For an example of querying a specific namespace using the Python client, see below:

from pinecone import Pinecone

pc = Pinecone(api_key='YOUR_API_KEY')
index = pc.Index('your-index')

    vector=[0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1], # sample dummy embedding

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.