mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
18 lines
464 B
Python
18 lines
464 B
Python
|
"""Tools for interacting with the user."""
|
||
|
|
||
|
|
||
|
import warnings
|
||
|
from typing import Any
|
||
|
|
||
|
from langchain_community.tools.human.tool import HumanInputRun
|
||
|
|
||
|
|
||
|
def StdInInquireTool(*args: Any, **kwargs: Any) -> HumanInputRun:
|
||
|
"""Tool for asking the user for input."""
|
||
|
warnings.warn(
|
||
|
"StdInInquireTool will be deprecated in the future. "
|
||
|
"Please use HumanInputRun instead.",
|
||
|
DeprecationWarning,
|
||
|
)
|
||
|
return HumanInputRun(*args, **kwargs)
|