You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
750 B

11 months ago
  1. # How to setup Pinecone Vector Database for AnythingLLM
  2. [Official Pinecone Docs](https://docs.pinecone.io/docs/overview) for reference.
  3. ### How to get started
  4. **Requirements**
  5. - Pinecone account with index that allows namespaces.
  6. **Note:** [Namespaces are not supported in `gcp-starter` environments](https://docs.pinecone.io/docs/namespaces) and are required to work with AnythingLLM.
  7. **Instructions**
  8. - Create an index on your Pinecone account. Name can be anything eg: `my-primary-index`
  9. - Metric `cosine`
  10. - Dimensions `1536` since we use OpenAI for embeddings
  11. - 1 pod, all other default settings are fine.
  12. ```
  13. VECTOR_DB="pinecone"
  14. PINECONE_API_KEY=sklive-123xyz
  15. PINECONE_INDEX=my-primary-index # the value from the first instruction!
  16. ```