mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-11 09:10:13 +01:00
2f3db0e63a
* migrate pinecone package to latest version and migrate pinecone vectordb provider class * remove pinecone environment name env variable and update docs to reflect removal & serverless support complete * migrate query for pinecone db * typo in log --------- Co-authored-by: timothycarambat <rambat1010@gmail.com>
25 lines
750 B
Markdown
25 lines
750 B
Markdown
# How to setup Pinecone Vector Database for AnythingLLM
|
|
|
|
[Official Pinecone Docs](https://docs.pinecone.io/docs/overview) for reference.
|
|
|
|
### How to get started
|
|
|
|
**Requirements**
|
|
|
|
- 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.
|
|
|
|
**Instructions**
|
|
|
|
- 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!
|
|
```
|