HuggingGPT#

class langchain_experimental.autonomous_agents.hugginggpt.hugginggpt.HuggingGPT(llm: BaseLanguageModel, tools: List[BaseTool])[source]#

用于与HuggingGPT交互的代理。

方法

__init__(llm, tools)

run(input)

Parameters:
__init__(llm: BaseLanguageModel, tools: List[BaseTool])[source]#
Parameters:
run(input: str) str[source]#
Parameters:

输入 (字符串)

Return type:

字符串