Skip to content

Commit

Permalink
Update VectorSearch.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chengbiao-jin authored Dec 20, 2024
1 parent b1ddb68 commit e3bbd73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions demos/guru_scripts/docker/tutorial/4.x/VectorSearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Follow [Docker setup ](https://github.com/tigergraph/ecosys/blob/master/demos/gu
[Go back to top](#top)
# Setup Schema
Locate [ddl.gsql](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_scripts/docker/tutorial/4.x/vector/ddl.gsql) under `/home/tigergraph/tutorial/4.x/vector` or copy it to your container.
Locate [ddl.gsql](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_s/docker/tutorial/4.x/vector/ddl.gsql) under `/home/tigergraph/tutorial/4.x/vector` or copy it to your container.
Next, run the following in your container's bash command line.
```
gsql ddl.gsql
Expand All @@ -59,12 +59,12 @@ You can choose one of the following methods.
- Load sample data from our publicly accessible s3 bucket
Locate [load.gsql](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_scripts/docker/tutorial/4.x/vector/load.gsql) under `/home/tigergraph/tutorial/4.x/vector` or copy it to your container.
Locate [load.gsql](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_s/docker/tutorial/4.x/vector/load.gsql) under `/home/tigergraph/tutorial/4.x/vector` or copy it to your container.
Next, run the following in your container's bash command line.
```
gsql load.gsql
```
or in GSQL Shell editor, copy the content of [load.gsql](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_scripts/docker/tutorial/4.x/script/load.gsql), and paste it into the GSQL shell editor to run.
or in GSQL Shell editor, copy the content of [load.gsql](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_s/docker/tutorial/4.x/vector/load.gsql), and paste it into the GSQL shell editor to run.
- Load from local file in your container
- Locate the following data files under `/home/tigergraph/tutorial/4.x/data` or copy them to your container:
Expand All @@ -77,11 +77,11 @@ You can choose one of the following methods.
- [account_emb.csv](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_scripts/docker/tutorial/4.x/data/account_emb.csv)
- [phone_emb.csv](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_scripts/docker/tutorial/4.x/data/phone_emb.csv)
- Locate [load2.gsql](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_scripts/docker/tutorial/4.x/script/load2.gsql) under `/home/tigergraph/tutorial/4.x/vector` or copy it to your container. Modify the script with your local file path if necessary. Next, run the following in your container's bash command line.
- Locate [load2.gsql](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_scripts/docker/tutorial/4.x/vector/load2.gsql) under `/home/tigergraph/tutorial/4.x/vector` or copy it to your container. Modify the script with your local file path if necessary. Next, run the following in your container's bash command line.
```
gsql load2.gsql
```
or in GSQL Shell editor, copy the content of [load2.gsql](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_scripts/docker/tutorial/4.x/script/load2.gsql), and paste in GSQL shell editor to run.
or in GSQL Shell editor, copy the content of [load2.gsql](https://raw.githubusercontent.com/tigergraph/ecosys/master/demos/guru_scripts/docker/tutorial/4.x/vector/load2.gsql), and paste in GSQL shell editor to run.
[Go back to top](#top)
Expand Down

0 comments on commit e3bbd73

Please sign in to comment.