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] [--download-proxy] [--shards]
                        [--parallel] [--uses-index] [--index-data-url]
                        [--index-labels-url] [--index-request-size]
                        [--uses-query] [--query-data-url] [--query-labels-url]
                        [--query-request-size] [--num-query] [--top-k]

General arguments

--workdir

The workdir for hello-world demoall data, indices, shards and outputs will be saved there

Default: “c6913371-a006-4a9d-8633-b86613544047”

--download-proxy

The proxy when downloading sample data

Scalability arguments

--shards

The number of shards when index and query

Default: 2

--parallel

The number of parallel when index and query

Default: 2

Index arguments

--uses-index

The yaml path of the index flow

Default: “/opt/hostedtoolcache/Python/3.8.9/x64/lib/python3.8/site-packages/jina/resources/fashion/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-request-size

The request size in indexing (the maximum number of documents that will be included in a Request before sending it)

Default: 1024