AutoGPT#

class langchain_experimental.autonomous_agents.autogpt.agent.AutoGPT(ai_name: str, memory: VectorStoreRetriever, chain: LLMChain, output_parser: BaseAutoGPTOutputParser, tools: List[BaseTool], feedback_tool: HumanInputRun | None = None, chat_history_memory: BaseChatMessageHistory | None = None)[source]#

Agent for interacting with AutoGPT.

Methods

__init__(ai_name,Β memory,Β chain,Β ...[,Β ...])

from_llm_and_tools(ai_name,Β ai_role,Β memory,Β ...)

run(goals)

Parameters:
__init__(ai_name: str, memory: VectorStoreRetriever, chain: LLMChain, output_parser: BaseAutoGPTOutputParser, tools: List[BaseTool], feedback_tool: HumanInputRun | None = None, chat_history_memory: BaseChatMessageHistory | None = None)[source]#
Parameters:
classmethod from_llm_and_tools(ai_name: str, ai_role: str, memory: VectorStoreRetriever, tools: List[BaseTool], llm: BaseChatModel, human_in_the_loop: bool = False, output_parser: BaseAutoGPTOutputParser | None = None, chat_history_memory: BaseChatMessageHistory | None = None) β†’ AutoGPT[source]#
Parameters:
Return type:

AutoGPT

run(goals: List[str]) β†’ str[source]#
Parameters:

goals (List[str]) –

Return type:

str