LangChain

Jina#

本页面介绍如何在LangChain中使用Jina生态系统。分为两部分:安装和设置,以及特定Jina包装器的参考。

安装和设置#

  • 使用pip install jina安装Python SDK

  • 这里 (opens in a new tab)获取Jina AI Cloud授权令牌,并将其设置为环境变量(JINA_AUTH_TOKEN)

包装器#

嵌入#

There exists a Jina Embeddings wrapper, which you can access with

from langchain.embeddings import JinaEmbeddings
 

For a more detailed walkthrough of this, see this notebook