encoders
semantic_router.encoders.jina
This file contains the JinaEncoder class which is used to encode text using Jina
JinaEncoder Objects
Class to encode text using Jina. Requires a Jina API key from https://jina.ai/api-keys/
__init__
Initialize the JinaEncoder.
Arguments:
name
: The name of the embedding model to use such as “jina-embeddings-v3”.jina_api_key
(str
): The Jina API key.