1. Learn
  2. /
  3. Courses
  4. /
  5. Vector Databases for Embeddings with Pinecone

Connected

Exercise

Querying namespaces

Now that you've created separate namespaces and embraced multitenancy, it's time to reap the rewards! In this exercise, you'll query one of these new namespaces to search through only a segment of your full index.

Instructions

100 XP
  • Initialize the Pinecone connection with your API key.
  • Query "namespace1" using the vector provided, returning the top three results.