Robot Monitoring Tools 문서
Tools
- class robot_monitoring_tools.tools.battery_tool.CheckBatteryTool(*, name: str = 'check_robot_battery', description: str = '로봇의 배터리 상태를 확인합니다. 특정 배터리 레벨보다 높거나 낮은 로봇들을 찾을 수 있습니다.', args_schema: ~typing.Type[~pydantic.main.BaseModel] = <class 'robot_monitoring_tools.tools.schemas.BatteryCheckRequest'>, return_direct: bool = False, verbose: bool = False, callbacks: list[~langchain_core.callbacks.base.BaseCallbackHandler] | ~langchain_core.callbacks.base.BaseCallbackManager | None = None, callback_manager: ~langchain_core.callbacks.base.BaseCallbackManager | None = None, tags: list[str] | None = None, metadata: dict[str, ~typing.Any] | None = None, handle_tool_error: bool | str | ~typing.Callable[[~langchain_core.tools.base.ToolException], str] | None = False, handle_validation_error: bool | str | ~typing.Callable[[~pydantic_core._pydantic_core.ValidationError | ~pydantic.v1.error_wrappers.ValidationError], str] | None = False, response_format: ~typing.Literal['content', 'content_and_artifact'] = 'content')[소스]
기반 클래스:
BaseTool
- args_schema: Type[BaseModel]
Pydantic model class to validate and parse the tool’s input arguments.
Args schema should be either:
A subclass of pydantic.BaseModel.
or - A subclass of pydantic.v1.BaseModel if accessing v1 namespace in pydantic 2
- description: str
Used to tell the model how/when/why to use the tool.
You can provide few-shot examples as a part of the description.
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'ignore', 'protected_namespaces': ()}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- name: str
The unique name of the tool that clearly communicates its purpose.
- class robot_monitoring_tools.tools.transfer_date_tool.GetRobotLastTransferDateTool(*, name: str = 'get_robot_last_transfer_date', description: str = 'collect_date 까지 데이터가 전송된 로봇 중 가장 최근의 것을 확인합니다. 특별한 요청 사항이 없으면 today_date를 기준으로 확인합니다.', args_schema: ~typing.Type[~pydantic.main.BaseModel] = <class 'robot_monitoring_tools.tools.schemas.LastTransferDateRequest'>, return_direct: bool = False, verbose: bool = False, callbacks: list[~langchain_core.callbacks.base.BaseCallbackHandler] | ~langchain_core.callbacks.base.BaseCallbackManager | None = None, callback_manager: ~langchain_core.callbacks.base.BaseCallbackManager | None = None, tags: list[str] | None = None, metadata: dict[str, ~typing.Any] | None = None, handle_tool_error: bool | str | ~typing.Callable[[~langchain_core.tools.base.ToolException], str] | None = False, handle_validation_error: bool | str | ~typing.Callable[[~pydantic_core._pydantic_core.ValidationError | ~pydantic.v1.error_wrappers.ValidationError], str] | None = False, response_format: ~typing.Literal['content', 'content_and_artifact'] = 'content')[소스]
기반 클래스:
BaseTool
- args_schema: Type[BaseModel]
Pydantic model class to validate and parse the tool’s input arguments.
Args schema should be either:
A subclass of pydantic.BaseModel.
or - A subclass of pydantic.v1.BaseModel if accessing v1 namespace in pydantic 2
- description: str
Used to tell the model how/when/why to use the tool.
You can provide few-shot examples as a part of the description.
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'ignore', 'protected_namespaces': ()}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- name: str
The unique name of the tool that clearly communicates its purpose.
Agent
- class robot_monitoring_tools.agents.agent_client.AgentClient(env_path: str = None, azure_api_key: str = None, azure_endpoint: str = None)[소스]
기반 클래스:
object