JFC
Jina Flow Companion
That's right: Jina Flow Companion. Not Jentucky Fried Chicken, or Jesus Fiona Christ.
Note: Jina AI doesn't officially support JFC. If you have questions, drop an issue. Don't bother Jina on Slack ;)
What does it do?
A simple CLI to:
- Index data from a folder, file, text string, CSV, or (coming soon) DocArray on Jina Cloud
- Search data via string or file
It should work with all versions of Jina from 3.0 onwards (prior versions had slightly different APIs)
Features
- Read config from YAML (coming soon) or command-line arguments
- Connect via REST, gRPC, or WebSocket gateways
Install
pip install jfc
Index
jfc index <data> -h https://foo.wolf.jina.ai
Where <data> is a CSV file or glob
Search
jfc search <data> -h https://foo.wolf.jina.ai
Where <data> is a file or string
Other endpoints
Just use arbitrary endpoint name instead of search or index
For AnnLiteIndexer (and maybe others?):
jfc status -h https://foo.wolf.jina.ai # Get index status
jfc clear -h https://foo.wolf.jina.ai # Clear index
Arguments
| Argument | Meaning |
|---|---|
-h |
URL to host |
-n |
Number of documents to index OR return from search |
Notes
- JFC doesn't do any preprocessing of data. What you input is what you get
- This is alpha-quality software that I built to scratch an itch. Don't expect miracles ;)
- Version number is tied to latest version of Jina it has been tested with. Any number past patch version is the patch version for JFC, not Jina.
Metadata
Release files for jfc 3.4.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jfc-3.4.4.6.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jfc-3.4.4.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / jfc-3.4.4.6.tar.gz
| Download URL | jfc-3.4.4.6.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38dabc39ae551e3e1d6608a30211bf35386fd602643ecdd35ed2893d284309e6
|
|
BLAKE2b-256 checksum How to use checksums |
f6f315c9a5914e2184aff03485743f871d0849963faf61fd6b12a433e7d45e24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.10.114-1-MANJARO
|
Release files / jfc-3.4.4.6-py3-none-any.whl
| Download URL | jfc-3.4.4.6-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e07a047b041eb539f350b359c4aa75b6dd64684cf794f75aa29e37a70bfb1f4
|
|
BLAKE2b-256 checksum How to use checksums |
0a7484c390be634fc392c2ebe2c1812b8d0c4ecd0fd03723442f5ad3af44af44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Linux/5.10.114-1-MANJARO
|