Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
Python
使用 LangChain Python 与 Mojeek 搜索工具集成。
from langchain_community.tools import MojeekSearch
api_key = "KEY" # obtained from Mojeek Website
search = MojeekSearch.config(api_key=api_key, search_kwargs={"t": 10})
search_kwargs
search.run("mojeek")