aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuka1104 <[email protected]>2024-04-20 02:56:11 +0900
committerGitHub <[email protected]>2024-04-20 02:56:11 +0900
commit9e7ddbc288d5243390499db44b7838957f286b0e (patch)
tree07e8327eac59b0a7c9dafe938ffcd3ed12b91d7a
parentMerge pull request #26 from nexxeln/nexxel/faster-builds (diff)
downloadarchived-supermemory-9e7ddbc288d5243390499db44b7838957f286b0e.tar.xz
archived-supermemory-9e7ddbc288d5243390499db44b7838957f286b0e.zip
Update SETUP-GUIDE.md
Add turbo installation link to prerequisites. Add vectorize information(need to use workers paid plan for now)
-rw-r--r--SETUP-GUIDE.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/SETUP-GUIDE.md b/SETUP-GUIDE.md
index 5313b71b..b7f47999 100644
--- a/SETUP-GUIDE.md
+++ b/SETUP-GUIDE.md
@@ -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