mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 18:35:29 -04:00
8 lines
308 B
Python
8 lines
308 B
Python
from collections.abc import Generator
|
|
from dify_plugin.tool.entities import ToolInvokeMessage
|
|
from dify_plugin.tool.tool import Tool
|
|
|
|
|
|
class QuestionClassifierTool(Tool):
|
|
def _invoke(self, tool_parameters: dict) -> Generator[ToolInvokeMessage, None, None]:
|
|
return super()._invoke(tool_parameters) |