This repository provides all executable demos in Zilliz Cloud documents, including those in Python, Java, Golang, Node.js, and RESTful API.
Running any demo in this repository requires the installation of corresponding SDKs, and you are advised to keep these SDKs update to date.
Before running the demos in the python
folder, ensure that you have run the following code snippets.
> cd python
> pip install -r requirements.txt
To run the demos, do as following in the python
folder:
-
Fill in the necessary parameters, such as
YOUR_CLUSTER_ENDPOINT
andYOUR_CLUSTER_TOKEN
in the file. -
Run the following command in the terminal.
# replace this with the one you are interested in. > python 00_quick_start.py
To run the demos in the java
folder, run the following commands:
-
Fill in necessary parameters, such as
YOUR_CLUSTER_ENDPOINT
andYOUR_CLUSTER_TOKEN
in the file. -
Run the following commands in the terminal.
# replace the folder with the one you are interested in. > cd java/quick_start > mvn clean compile exec:java
Before running the demos in the node
folder, ensure that you have run the following code snippets.
> cd node
> npm install
To run the demos, do the following in the node
folder:
-
Fill in necessary parameters, such as
YOUR_CLUSTER_ENDPOINT
andYOUR_CLUSTER_TOKEN
in the file. -
Run the following commands in the terminal.
# replace this with the one you are interested in. > node 00_quick_start.js
Before running the demos in the go
folder, ensure that you have run the following code snippets.
# replace the folder with the one you are interested in.
> cd go/use_customized_schema
> go mod tidy
To run the demos, do the following in the go
project folder:
-
Fill in necessary parameters, such as
YOUR_CLUSTER_ENDPOINT
andYOUR_CLUSTER_TOKEN
in the file. -
Run the following commands in the terminal.
# replace the folder and file with the one you are interested in. > cd go/use_customized_schema > go run use_customized_schema.go
Case | Code File | Status |
---|---|---|
Use Customized Schema | go/use_customized_schema/main.go | Ready |
Enable Dynamic Schema | go/enable_dynamic_schema/main.go | Ready |
Use Partition Key | go/use_partition_key/main.go | Ready |
Use JSON Fields | go/use_json_field/main.go | Ready |
To run the demos, do the following in the curl
folder:
-
Fill in necessary parameters, such as
YOUR_CLUSTER_ENDPOINT
andYOUR_CLUSTER_TOKEN
in the file. -
Run the following commands in the terminal.
> cd curl # replace this with the one you are interested. > sh ./00_quick_start.sh
Case | Code File | Status |
---|---|---|
Quick start | curl/00_quick_start.sh | Ready |
curl/00_quick_start.ipynb | Ready |