superduper_jina
Superduper allows users to work with Jina Embeddings models through the Jina Embedding API.
Installation​
pip install superduper_jina
API​
Class | Description |
---|---|
superduper_jina.client.JinaAPIClient | A client for the Jina Embedding platform. |
superduper_jina.model.Jina | Cohere predictor. |
superduper_jina.model.JinaEmbedding | Jina embedding predictor. |
Examples​
JinaEmbedding​
from superduper_jina.model import JinaEmbedding
model = JinaEmbedding(identifier='jina-embeddings-v2-base-en')
model.predict('Hello world')