Toggle Menu
Prev Up Next

# `langchain_experimental.autonomous_agents.autogpt.prompt_generator`.get_prompt

langchain_experimental.autonomous_agents.autogpt.prompt_generator.get_prompt(tools: List[BaseTool]) → str

  Generates a prompt string.

  It includes various constraints, commands, resources, and performance evaluations.

  Returns

    The generated prompt string.

  Return type

    str

  Parameters

    tools (List[BaseTool]) –