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ΒΆ

--workdir

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

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

--logserver

start a log server for the dashboard

Default: False

--logserver-config

the yaml config of the log server

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

--download-proxy

specify the proxy when downloading sample data

Scalability argumentsΒΆ

--shards

number of shards when index and query

Default: 2

--parallel

number of parallel when index and query

Default: 2

Index argumentsΒΆ

--uses-index

the yaml path of the index flow

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

--index-data-url

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”

--index-labels-url

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”

--index-batch-size

the batch size in indexing

Default: 1024