An easier way to build neural search in the cloud
jinad - The Daemon to manage Jina remotely
jinad is a REST + Websockets based server to allow remote workflows in Jina. It is built using FastAPI and deployed using Uvicorn.
Jina Docs: https://docs.jina.ai/
JinaD API Docs: https://api.jina.ai/jinad
Set up:
Pypi:
On Linux/macOS with Python 3.7/3.8:
pip install -U jinad && jinad
Docker Container:
docker run -p 8000:8000 jinaai/jinad
Systemd:
Debian / Ubuntu:
curl -L https://raw.githubusercontent.com/jina-ai/jinad/main/scripts/deb-systemd.sh | bash
RPM:
to be added
Use Cases:
Start jinad on a remote machine - 1.2.3.4:8000
1: Create Remote Pod in a Flow
f = (Flow()
.add(name='p1', uses='_logforward')
.add(name='p2', host='1.2.3.4', port_expose='8000', uses='_logforward')
with f:
f.search_lines(lines=['jina', 'is', 'cute'], output_fn=print)
2: Create Remote Pod using Jina CLI
jina pod --host 1.2.3.4 --port-expose 8000 --uses _logforward
3: Create a Remote Flow
curl -s --request PUT "http://1.2.3.4:8000/v1/flow/yaml" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "uses_files=@helloworld.encoder.yml" -F "uses_files=@helloworld.indexer.yml" -F "pymodules_files=@components.py" -F "yamlspec=@helloworld.flow.index.yml"
Metadata
Release files for jinad 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jinad-0.0.7.tar.gz | 17.9 kB | Details |
Release files / jinad-0.0.7.tar.gz
| Download URL | jinad-0.0.7.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
751d9ccec905de9318a1d07ff6c20452d06362e4ab8ee27b8ce4a35bac755085
|
|
BLAKE2b-256 checksum How to use checksums |
db9a054516b8ed0fbec6d01c0c723570e74061c2a7bd2ac4c762094e27f440a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.9
|