Source code for langchain_community.tools.interaction.tool

"""与用户交互的工具。"""


import warnings
from typing import Any

from langchain_community.tools.human.tool import HumanInputRun


[docs]def StdInInquireTool(*args: Any, **kwargs: Any) -> HumanInputRun: """用户输入工具。""" warnings.warn( "StdInInquireTool will be deprecated in the future. " "Please use HumanInputRun instead.", DeprecationWarning, ) return HumanInputRun(*args, **kwargs)