langchain_experimental.autonomous_agents.autogpt.output_parser.AutoGPTAction¶
- class langchain_experimental.autonomous_agents.autogpt.output_parser.AutoGPTAction(name: str, args: Dict)[source]¶
Bases:
NamedTupleAction returned by AutoGPTOutputParser.
Create new instance of AutoGPTAction(name, args)
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Alias for field number 1
Alias for field number 0
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.
- args: Dict¶
Alias for field number 1
- name: str¶
Alias for field number 0