langchain_experimental.autonomous_agents.hugginggpt.hugginggpt
.HuggingGPT¶
- class langchain_experimental.autonomous_agents.hugginggpt.hugginggpt.HuggingGPT(llm: BaseLanguageModel, tools: List[BaseTool])[source]¶
与HuggingGPT交互的代理。
方法
__init__
(llm, tools)run
(input)- 参数
llm (BaseLanguageModel) –
tools (List[BaseTool]) –
- __init__(llm: BaseLanguageModel, tools: List[BaseTool])[source]¶
- 参数
llm (BaseLanguageModel) –
tools (List[BaseTool]) –