Skip to main content

Jina NOW - get your neural search case up and running in minutes.

Project description

Jina NOW logo: The data structure for unstructured data
One line to host them all. Bootstrap your image search case in minutes.

Python 3.7 3.8 3.9 3.10 PyPI

Jina NOW logo: The data structure for unstructured data

NOW gives the world access to customized neural image search in just one line of code. Main features

  • 🐥 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
  • 🌳 Reliable: We take care of the deployment and maintenance (coming soon)
  • Nocode: Deployment can be done by non-technical people

Installation

pip install jina-now

In case you need sudo for running Docker, install and use jina-now using sudo as well.

Mac M1

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.

Usage

jina now [start | stop] --data [<pushpullid> | <localpath> | <url>] --quality [medium | good | excellent] --cluster <k8s-cluster-name>

Quick Start

jina now start

Use CLI Parameters

jina now start --quality medium --data /local/img/folder

Use API

You can now send requests to the API using the jina client. This case shows a local deployment.

from jina import Client    
client = Client(
        host='localhost',
        port=31080,
) 
response = client.search(
        Document(text=search_text), # or in case you send an image: Document(url=image_path),
        parameters={"limit": 9, "filter": {}},
)

Cleanup

jina now stop

Requirements

  • Linux or Mac
  • Python 3.7, 3.8, 3.9 or 3.10

Local execution

  • Docker installation
  • 10 GB assigned to docker
  • User must be permitted to run docker containers

Google Cloud deployment

  • Billing account enabled

Jina Flow as a service

  • No further requirements (coming soon)

Supported Modalities (more will be added)

  • Text
  • Image
  • Audio
  • Video
  • 3D mesh
  • PDF
  • ...

IMAGE ALT TEXT HERE


Examples

👕 Fashion image
☢️ Chest X-Ray
💰 NFT - bored apes
🖼 Art image
🚗 Cars image
🏞 Street view image
🦆 Birds image

Now use your custom data :)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jina-now-0.0.6.tar.gz (264.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page