anything-llm/server/utils/vectorDbProviders/pinecone/PINECONE_SETUP.md

25 lines
750 B
Markdown
Raw Normal View History

2023-06-09 20:33:13 +02:00
# How to setup Pinecone Vector Database for AnythingLLM
[Official Pinecone Docs](https://docs.pinecone.io/docs/overview) for reference.
### How to get started
**Requirements**
2023-06-09 21:59:22 +02:00
2023-09-12 23:58:14 +02:00
- Pinecone account with index that allows namespaces.
**Note:** [Namespaces are not supported in `gcp-starter` environments](https://docs.pinecone.io/docs/namespaces) and are required to work with AnythingLLM.
2023-06-09 20:33:13 +02:00
**Instructions**
2023-06-09 21:59:22 +02:00
2023-06-09 20:33:13 +02:00
- Create an index on your Pinecone account. Name can be anything eg: `my-primary-index`
- Metric `cosine`
- Dimensions `1536` since we use OpenAI for embeddings
- 1 pod, all other default settings are fine.
```
VECTOR_DB="pinecone"
PINECONE_API_KEY=sklive-123xyz
PINECONE_INDEX=my-primary-index # the value from the first instruction!
```