mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-08 22:21:07 +00:00
Update SETUP-GUIDE.md
Add turbo installation link to prerequisites. Add vectorize information(need to use workers paid plan for now)
This commit is contained in:
parent
bd256a2556
commit
9e7ddbc288
1 changed files with 3 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
## Prerequisites
|
||||
|
||||
- [bun](https://bun.sh/)
|
||||
- [turbo](https://turbo.build/repo/docs/installing)
|
||||
- [wrangler](https://developers.cloudflare.com/workers/cli-wrangler/install-update)
|
||||
|
||||
## Steps
|
||||
|
|
@ -52,12 +53,13 @@ If it runs, you can set up the cloud database as well by removing the `--local`
|
|||
To do this, first edit the `.dev.vars` file in `apps/cf-ai-backend` with the following content:
|
||||
|
||||
```bash
|
||||
SECURITY_KEY ="veryrandomsecuritykey"
|
||||
SECURITY_KEY="veryrandomsecuritykey"
|
||||
// Why? to generate embeddings with 4000+ tokens
|
||||
OPENAI_API_KEY="sk-"
|
||||
```
|
||||
|
||||
6. Run this command to initialise vector database
|
||||
> Note: You need to use the workers paid plan to use vectorize for now.
|
||||
|
||||
```
|
||||
wrangler vectorize create --dimensions=1536 supermem-vector-1 --metric=cosine
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue