langchain_experimental.autonomous_agents.hugginggpt.hugginggpt.HuggingGPT

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

用于与HuggingGPT进行交互的代理程序。

Methods

__init__(llm, tools)

run(input)

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

input (str) –

Return type

str