langchain_experimental.autonomous_agents.autogpt.output_parser.AutoGPTAction¶
- class langchain_experimental.autonomous_agents.autogpt.output_parser.AutoGPTAction(name: str, args: Dict)[source]¶
- AutoGPTOutputParser返回的操作。 - 创建 AutoGPTAction(name, args) 的新实例 - 属性 - args- 字段 1 的别称 - name- 字段 0 的别称 - 方法 - __init__()- count(value, /)- 返回值 value 出现的次数。 - index(value[, start, stop])- 返回 value 的第一个索引。 - 参数
- name (str) – 
- args (Dict) – 
 
 - __init__()¶
 - count(value, /)¶
- 返回值 value 出现的次数。 
 - index(value, start=0, stop=9223372036854775807, /)¶
- 返回 value 的第一个索引。 - 如果 value 不存在,则抛出 ValueError。