Skip to main content

llm-embed-jina

PyPI Changelog Tests License

Embedding models from Jina AI

Background

Jina AI Launches World's First Open-Source 8K Text Embedding, Rivaling OpenAI introduces these models.

See also Embeddings: What they are and why they matter for background on embeddings and an explanation of the LLM embeddings tool.

Installation

Install this plugin in the same environment as LLM.

llm install llm-embed-jina

Usage

This plugin adds support for three new embedding models:

The models will be downloaded the first time you try to use them.

See the LLM documentation for everything you can do.

To get started embedding a single string, run the following:

llm embed -m jina-embeddings-v2-small-en -c 'Hello world'

This will output a JSON array of 512 floating point numbers to your terminal.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-embed-jina
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

pytest

Release files for llm-embed-jina 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-embed-jina 0.1.2
File Size Uploaded
llm-embed-jina-0.1.2.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-embed-jina 0.1.2
File Interpreter ABI Platform
llm_embed_jina-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.2 kB

Release files / llm-embed-jina-0.1.2.tar.gz

Download URL llm-embed-jina-0.1.2.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
73d7e31775cb0b85b4eea6ff1e6ab58c7c43c09804fa6555015a82fefb385739
BLAKE2b-256 checksum
How to use checksums
a0078f007599ba9cbd00a031b09e4e7109da20d8e0f8503e3fd5569287a84d36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / llm_embed_jina-0.1.2-py3-none-any.whl

Download URL llm_embed_jina-0.1.2-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86df8af03955ef4c1bac250b69c572a6f984219c655c1b071a96a4e37ca63391
BLAKE2b-256 checksum
How to use checksums
4c100332ef43aa532cd1bdab8195174641454da52de008e03c031f6e3a6719a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page