Welcome to Jina NOW!#
One line to host them all. Bootstrap your image search case in minutes.
NOW gives the world access to neural image search in just one command execution. Main features
⛅ Cloud: We take care of the deployment and maintenance
🐥 Easy: Minimal effort required to set up your search case
🐎 Fast: Set up your search case within minutes
🌈 Quality: If you provide labels to your documents, Jina NOW fine-tunes a model for you
✨ Nocode: Deployment can be done by non-technical people
pip install jina-now
In case you need sudo for running Docker, install and use jina-now using sudo as well.
For the Mac M1 it is generally recommended using a conda environment as outlined in the Jina documentation.
In a new conda environment first execute
conda install grpcio tokenizers protobuf. Then run
pip install jina-now.
You can use the following command to start Jina NOW.
jina now start
First, you will get asked what search case you would like to deploy.
jina now start
First, you will be prompted to choose an app. As for now, we support images or text searches. But in the future, we will add many more options here.
In the next step, you get asked to select the dataset for your search app. You could either choose one of our existing datasets or select
custom to index your own data.
custom, you can decide in what format you provide your data. The recommended way, is to push a document array described here.
Alternatively, you can specify a URL where a document array can be downloaded from.
Also, it is possible to provide a local folder where the Images are located. In case of text search it would be a local text file.
If you chose
docarray.pull, you will be asked to insert your docarray id.
Likewise, if you chose docarray URL, you will be prompted to enter the URL.
In case you selected local path,
jina-now will ask you to enter the local path of the data folder as shown bellow.
The search app can be deployed in different qualities. Have in mind that a better quality leads to a larger ai model being deployed and therefore inference will be a bit slower.
Currently, we provide two deployment options. We recommend using the cloud deployment. This will run your search app on our servers. Alternatively, you can select the local deployment option.
In case of local deployment, you will be asked where you want to deploy it. Jina NOW reads your local .kube/config and lists all kubernetes clusters you have access to. If you don’t want to use an existing cluster, you can create a new one locally.
After the program execution is finished, two links will be shown to you. The first one brings you to the swagger UI which is useful for frontend integration. The second URL leads you to a playground where you can run example queries and experiment with the search case.
Example of the playground.
Example of the swagger ui.
Supported apps (more will be added)#
[x] Text to Image search 📝 ▶ 🏞
[x] Image to Text search 🏞 ▶ 📝
[x] Image to Image search 🏞 ▶ 🏞
[x] Text to Text search 📝 ▶ 📝
[x] Music to Music search 🥁 ▶ 🥁
[x] Text to Video search 📝 ▶ 🎥 (only gif at the moment)
[ ] Text to 3D Mesh search 📝 ▶ 🧊
[ ] …