Skip to content

Commit 1a951aa

Browse files
Additional clarifications.
1 parent 0ecbfae commit 1a951aa

21 files changed

Lines changed: 39 additions & 39 deletions

src/writer/blocks/addtostatelist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ def register(cls, type: str):
2929
"outs": {
3030
"success": {
3131
"name": "Success",
32-
"description": "If the function doesn't raise an Exception.",
32+
"description": "The item was added to the list.",
3333
"style": "success",
3434
},
3535
"error": {
3636
"name": "Error",
37-
"description": "If the function raises an Exception.",
37+
"description": "There was an error adding the item to the list.",
3838
"style": "error",
3939
},
4040
},

src/writer/blocks/foreach.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def register(cls, type: str):
1818
"fields": {
1919
"items": {
2020
"name": "Items",
21-
"desc": "The item value will be passed in the execution environment and will be available at @{item}, its id at @{itemId}. You can use either a list or a dictionary.",
21+
"desc": "The item value will be passed in the execution environment. It will be available at @{item}, and its ID at @{itemId}. You can use either a list or a dictionary.",
2222
"default": "[]",
2323
"init": '["France", "Poland"]',
2424
"type": "Object",

src/writer/blocks/returnvalue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ def register(cls, type: str):
2424
"outs": {
2525
"success": {
2626
"name": "Success",
27-
"description": "If the function doesn't raise an Exception.",
27+
"description": "The value was returned successfully.",
2828
"style": "success",
2929
},
3030
"error": {
3131
"name": "Error",
32-
"description": "If the function raises an Exception.",
32+
"description": "There was an error returning the value.",
3333
"style": "error",
3434
},
3535
},

src/writer/blocks/runblueprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def register(cls, type: str):
2626
},
2727
"payload": {
2828
"name": "Payload",
29-
"desc": "The value specified will be available using the template syntax i.e. @{payload}",
29+
"desc": "The value specified will be available using the template syntax, e.g. @{payload}.",
3030
"default": "{}",
3131
"type": "Text",
3232
"control": "Textarea",

src/writer/blocks/setstate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def register(cls, type: str):
1919
"element": {
2020
"name": "Link Variable",
2121
"type": "Binding",
22-
"desc": "Set the variable here and use it across your agent",
22+
"desc": "Set the variable here and use it across your agent.",
2323
},
2424
"valueType": {
2525
"name": "Value type",
@@ -36,12 +36,12 @@ def register(cls, type: str):
3636
"outs": {
3737
"success": {
3838
"name": "Success",
39-
"description": "If the function doesn't raise an Exception.",
39+
"description": "The state was updated successfully.",
4040
"style": "success",
4141
},
4242
"error": {
4343
"name": "Error",
44-
"description": "If the function raises an Exception.",
44+
"description": "There was an error updating the state.",
4545
"style": "error",
4646
},
4747
},

src/writer/blocks/writeraddchatmessage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ def register(cls, type: str):
7575
"outs": {
7676
"success": {
7777
"name": "Success",
78-
"description": "If the function doesn't raise an Exception.",
78+
"description": "The message was added to the conversation.",
7979
"style": "success",
8080
},
8181
"error": {
8282
"name": "Error",
83-
"description": "If the function raises an Exception.",
83+
"description": "There was an error adding the message.",
8484
"style": "error",
8585
},
8686
},

src/writer/blocks/writeraddtokg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ def register(cls, type: str):
5252
"outs": {
5353
"success": {
5454
"name": "Success",
55-
"description": "If the execution was successful.",
55+
"description": "Content was added to the knowledge graph.",
5656
"style": "success",
5757
},
5858
"error": {
5959
"name": "Error",
60-
"description": "If the function raises an Exception.",
60+
"description": "There was an error adding content to the knowledge graph.",
6161
"style": "error",
6262
},
6363
},

src/writer/blocks/writeraskkg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def register(cls, type: str):
6363
},
6464
"error": {
6565
"name": "Error",
66-
"description": "If the function raises an Exception.",
66+
"description": "There was an error answering the question.",
6767
"style": "error"
6868
}
6969
}

src/writer/blocks/writerchat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ def register(cls, type: str):
4747
},
4848
"success": {
4949
"name": "Success",
50-
"description": "If the function doesn't raise an Exception.",
50+
"description": "The reply was generated successfully.",
5151
"style": "success",
5252
},
5353
"error": {
5454
"name": "Error",
55-
"description": "If the function raises an Exception.",
55+
"description": "There was an error generating the reply.",
5656
"style": "error",
5757
},
5858
},

src/writer/blocks/writerchatreply.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,12 @@ def register(cls, type: str):
147147
},
148148
"success": {
149149
"name": "Success",
150-
"description": "If the function doesn't raise an Exception.",
150+
"description": "The reply was generated successfully.",
151151
"style": "success",
152152
},
153153
"error": {
154154
"name": "Error",
155-
"description": "If the function raises an Exception.",
155+
"description": "There was an error generating the reply.",
156156
"style": "error",
157157
},
158158
},

0 commit comments

Comments
 (0)