Repository

jina-sagemaker

Jina Embedding Models on AWS SageMaker

README

Jina Models on AWS SageMaker

PyPI PyPI - Downloads from official pypistats

jina-sagemaker package offers streamlined tools for interacting with [Jina Embedding Models through the AWS SageMaker Marketplace](), all within a Python environment.

Installation

Install from PyPI:

pip install --upgrade jina-sagemaker

Install from source:

pip install .

Build distributions locally:

pip install build
python -m build

Usage

Please configure your AWS credentials before using this package. You can do this by following the instructions here.

Please follow the examples in notebooks to get an overview of how to use model packages offered for real time inference and batch transform jobs.

Development

pip install -e .[test]
pytest

Formatting and linting use ruff; configuration lives in pyproject.toml:

pip install ruff
ruff format .       # apply formatting
ruff check --fix .  # apply lint autofixes

A pre-commit hook is provided:

pip install pre-commit
pre-commit install