File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,20 @@ Vector search allows for similarity-based queries on high-dimensional data, whic
8
8
9
9
- [ SurrealDB installed] ( https://surrealdb.com/install ) and running
10
10
- Ollama installed with the [ nomic-embed-text model] ( https://ollama.com/library/nomic-embed-text )
11
- - Import [ Surreal Deal dataset] ( https://surrealdb.com/docs/surrealdb/surrealql/demo ) .
11
+ - Import the SurrealDB store dataset with embeddings .
12
12
13
13
## Setup
14
14
15
- Import the dataset that includes vector embeddings for products.
15
+ - Start your SurrealDB server.
16
+ ``` sh
17
+ surreal start memory -A --auth --user root --pass root
18
+ ```
19
+ - [ Import] ( https://surrealdb.com/docs/surrealdb/cli/import ) the dataset that includes vector embeddings for products. Use the following command:
20
+ ``` sh
21
+ surreal import --conn http://localhost:8000 --user root --pass root --ns test --db test /path/to/surreal-deal-store.surql
22
+ ```
23
+
24
+ Make sure to put in the correct username and password here.
16
25
The dataset already includes the vector indexes and fields to store embeddings.
17
26
18
27
The product embeddings will be stored in the ` details_embedding ` field.
You can’t perform that action at this time.
0 commit comments