This commit is contained in:
geekan 2023-12-14 16:21:56 +08:00
parent c0bcf57caf
commit 39cb663595
2 changed files with 2 additions and 2 deletions

View file

@ -285,7 +285,7 @@ class ActionNode:
def action_node_from_tuple_example():
# 示例:列表中包含元组
list_of_tuples = [
("key1", int, "Instruction 1", "Example 1")
("key1", str, "Instruction 1", "Example 1")
]
# 从列表中创建 ActionNode 实例

View file

@ -106,7 +106,7 @@ ANYTHING_UNCLEAR = ActionNode(
ISSUE_TYPE = ActionNode(
key="issue_type",
expected_type=str,
instruction="Answer BUG/REQUIREMENT. If it is a bugfix, answer Bug, otherwise answer Requirement",
instruction="Answer BUG/REQUIREMENT. If it is a bugfix, answer BUG, otherwise answer Requirement",
example="BUG"
)