> For the complete documentation index, see [llms.txt](https://docs.peoplelogic.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.peoplelogic.dev/guides/getting-started-with-the-talent-agent-sdk/working-with-documents/embedding-stores.md). Agents can also search and read this documentation through its [MCP server](https://docs.peoplelogic.dev/~gitbook/mcp).

# Embedding stores

To use RAG, you need a place to store the embeddings (the vectors).  These places are called Vector Stores (or EmbeddingStore in the Langchain4J library).

The agent SDK includes support out of the box for two stores:

1. **A simple embedding store that keeps things in memory.** This is the default store.  It is not particularly sophisticated with how it looks things up, but is a good option when loading simple documents from the classpath. No other configuration is required to activate this store.
2. **Pinecone.** [Pinecone.io](https://pinecone.io/) is a much more advanced vector database for processing and searching your documents.  They include a free version in addition to paid versions.

### Configuring Pinecone

To enable Pinecone support, add the following to `application.properties`. You'll receive your key after you create your first instance in Pinecone.  The built-in retrievers for Organization Uploads and Personal Uploads will create the necessary indices you need along with namespaces as needed.  If you create other retrievers, you'll need to manage that piece yourself.&#x20;

```properties
peoplelogic.agent.rag.store.type=pinecone
peoplelogic.agent.rag.store.key=pcsk_xxxx
peoplelogic.agent.rag.store.host=https://host.svc.aped-4627-b74a.pinecone.io
```

### Connecting other stores

In addition to the built-in stores, you can pull in support for other embedding stores through Langchain4J.  We are happy to help you get this setup - just Slack us or email <support@peoplelogic.dev>.

We'll show where to set this up when you create Content Retrievers later in the documentation.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.peoplelogic.dev/guides/getting-started-with-the-talent-agent-sdk/working-with-documents/embedding-stores.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
