Jina Flow Companion - search and index from the CLI
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jfc-3.4.4.6.tar.gz.
File metadata
- Download URL: jfc-3.4.4.6.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.10.114-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38dabc39ae551e3e1d6608a30211bf35386fd602643ecdd35ed2893d284309e6
|
|
| MD5 |
efc45871c8dd39dd87b0525b1f284ff2
|
|
| BLAKE2b-256 |
f6f315c9a5914e2184aff03485743f871d0849963faf61fd6b12a433e7d45e24
|
File details
Details for the file jfc-3.4.4.6-py3-none-any.whl.
File metadata
- Download URL: jfc-3.4.4.6-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.10.114-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e07a047b041eb539f350b359c4aa75b6dd64684cf794f75aa29e37a70bfb1f4
|
|
| MD5 |
8fa782f606ee4c8794bd1d5270271bd0
|
|
| BLAKE2b-256 |
0a7484c390be634fc392c2ebe2c1812b8d0c4ecd0fd03723442f5ad3af44af44
|