Pre-release
This release is a pre-release and may not be stable for production use.
llm-jina-api
Access Jina AI embeddings via their API
Installation
Install this plugin in the same environment as LLM.
llm install llm-jina-api
Usage
The plugin adds an embedding model called jina-clip-v1-api. You'll need to set an API key first:
llm keys set jina
# paste API key here
Follow the LLM documentation using jina-clip-v1-api as the model name. For example:
llm embed -m jina-clip-v1-api -c 'pelican'
# To embed an image file:
llm embed --binary -m jina-clip-v1-api -i pelican.jpg
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-jina-api
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
llm install -e '.[test]'
To run the tests:
python -m pytest
Release files for llm-jina-api 0.1a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llm_jina_api-0.1a0.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_jina_api-0.1a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / llm_jina_api-0.1a0.tar.gz
| Download URL | llm_jina_api-0.1a0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82e6f96733efb72a478a5d53b080918a9b5322ee7e67f226fe83c58e55a494da
|
|
BLAKE2b-256 checksum How to use checksums |
c30b43501628349bb8661aed1d8f6d59329f1673bc7daab17cc2dd4b253a659b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / llm_jina_api-0.1a0-py3-none-any.whl
| Download URL | llm_jina_api-0.1a0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d0fd962f9b4197f49d3e6aa9bd1f4dbad49d4ed7d8d33ecffbd0fe500aba709
|
|
BLAKE2b-256 checksum How to use checksums |
a3a0c9f0b7f2f46a1ce42d6627423881e12e4a68702649102f889c9698e21493
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|