Jina AI is a search AI company. Jina helps businesses and developers unlock multimodal data with a better search.
For proper compatibility, please ensure you are using the openai SDK at version 0.x.
Installation and setup
- Get a Jina AI API token from here and set it as an environment variable (
JINA_API_TOKEN)
Chat models
from langchain_community.chat_models import JinaChat
See a usage examples.
Embedding models
You can check the list of available models from here
from langchain_community.embeddings import JinaEmbeddings
See a usage examples.
Jina rerank
from langchain_community.document_compressors import JinaRerank
See a usage examples.