Jina Search
This notebook provides a quick overview for getting started with Jina tool. For detailed documentation of all Jina features and configurations head to the API reference.
Overview
Integration details
Class | Package | Serializable | JS support | Package latest |
---|---|---|---|---|
JinaSearch | langchain-community | ❌ | ❌ |
Tool features
Returns artifact | Native async | Return data | Pricing |
---|---|---|---|
❌ | ❌ | URL, Snippet, Title, Page Content | 1M response tokens free |
Setup
The integration lives in the langchain-community
package and was added in version 0.2.16
:
%pip install --quiet -U "langchain-community>=0.2.16"
Credentials
import getpass
import os
It's also helpful (but not needed) to set up LangSmith for best-in-class observability:
# os.environ["LANGCHAIN_TRACING_V2"] = "true"
# os.environ["LANGCHAIN_API_KEY"] = getpass.getpass()
Instantiation
- TODO: Fill in instantiation params
Here we show how to instantiate an instance of the Jina tool, with
from langchain_community.tools import JinaSearch
tool = JinaSearch()
API Reference:JinaSearch