2023-03-28 15:16:17 +00:00
|
|
|
# Jina
|
|
|
|
|
|
|
|
This page covers how to use the Jina ecosystem within LangChain.
|
|
|
|
It is broken into two parts: installation and setup, and then references to specific Jina wrappers.
|
|
|
|
|
|
|
|
## Installation and Setup
|
|
|
|
- Install the Python SDK with `pip install jina`
|
|
|
|
- Get a Jina AI Cloud auth token from [here](https://cloud.jina.ai/settings/tokens) and set it as an environment variable (`JINA_AUTH_TOKEN`)
|
|
|
|
|
|
|
|
## Wrappers
|
|
|
|
|
|
|
|
### Embeddings
|
|
|
|
|
|
|
|
There exists a Jina Embeddings wrapper, which you can access with
|
|
|
|
```python
|
|
|
|
from langchain.embeddings import JinaEmbeddings
|
|
|
|
```
|
2023-06-16 18:52:56 +00:00
|
|
|
For a more detailed walkthrough of this, see [this notebook](/docs/modules/data_connection/text_embedding/integrations/jina.html)
|