mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-15 19:00:33 +01:00
24 lines
612 B
Markdown
24 lines
612 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 (free or paid)
|
|
|
|
**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_ENVIRONMENT=us-west4-gcp-free
|
|
PINECONE_API_KEY=sklive-123xyz
|
|
PINECONE_INDEX=my-primary-index # the value from the first instruction!
|
|
```
|