# Load vectorestore with a specific namespace

**URL:** <https://community.pinecone.io/t/load-vectorestore-with-a-specific-namespace/2971>\
**Category:** Support\
**Tags:** vector-database\
**Created:** [August 15, 2023, 8:16am UTC](https://community.pinecone.io/t/load-vectorestore-with-a-specific-namespace/2971 "2023-08-15T08:16:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![azizultex](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/azizultex/32/1237_2.png) [@azizultex](https://community.pinecone.io/u/azizultex)\
**Post date:** [August 15, 2023, 8:16am UTC](https://community.pinecone.io/t/load-vectorestore-with-a-specific-namespace/2971/1 "2023-08-15T08:16:18Z")

</div>

Hello everyone,

I’m encountering a challenge with an index that contains numerous namespaces, each dedicated to individual users. When a user requests a query, I need to load the vectorestore with that specific user’s namespace to answer the question. Unfortunately, I haven’t been able to locate a method for achieving this based on the documentation provided.

I’m utilizing Langchain for this purpose.

Here’s a simplified version of my code:

```python
embeddings = OpenAIEmbeddings()

vectorstore = Pinecone(
    pinecone_index, embeddings.embed_query, "text"
)

chatgpt_chain = ConversationalRetrievalChain.from_llm(
    model,
    retriever=vectorstore.as_retriever(),
    memory=memory
)

```

Any insights or guidance would be greatly appreciated. Thank you!
