Toggle Menu
Prev Up Next

# `langchain_experimental.autonomous_agents.hugginggpt.hugginggpt`.HuggingGPT

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

  Agent for interacting with HuggingGPT.

  Methods

  `__init__`(llm, tools) |
  `run`(input) |

  Parameters

    - llm (BaseLanguageModel) –

    - tools (List[BaseTool]) –

  __init__(llm: BaseLanguageModel, tools: List[BaseTool])
    Parameters

      - llm (BaseLanguageModel) –

      - tools (List[BaseTool]) –

  run(input: str) → str
    Parameters

      input (str) –

    Return type

      str