jina hello-worldΒΆ

Start the hello-world demo, a simple end2end image index and search demo without any extra dependencies.

usage: jina hello-world [-h] [--workdir] [--logserver] [--logserver-config]
                        [--download-proxy] [--shards] [--parallel]
                        [--uses-index] [--index-data-url] [--index-labels-url]
                        [--index-batch-size] [--uses-query] [--query-data-url]
                        [--query-labels-url] [--query-batch-size]
                        [--num-query] [--top-k]

General argumentsΒΆ


the workdir for hello-world demo, all data, indices, shards and outputs will be saved there

Default: β€œ20f6d95e-4f92-11eb-873e-0022481fe802”


start a log server for the dashboard

Default: False


the yaml config of the log server

Default: β€œ/home/runner/work/jina/jina/jina/resources/logserver.default.yml”


specify the proxy when downloading sample data

Scalability argumentsΒΆ


number of shards when index and query

Default: 2


number of parallel when index and query

Default: 2

Index argumentsΒΆ


the yaml path of the index flow

Default: β€œ/home/runner/work/jina/jina/jina/resources/helloworld.flow.index.yml”


the url of index data (should be in idx3-ubyte.gz format)

Default: β€œhttp://fashion-mnist.s3-website.eu-central-1.amazonaws.com/train-images-idx3-ubyte.gz”


the url of index labels data (should be in idx3-ubyte.gz format)

Default: β€œhttp://fashion-mnist.s3-website.eu-central-1.amazonaws.com/train-labels-idx1-ubyte.gz”


the batch size in indexing

Default: 1024