Skip to content

Commit 1bacaa5

Browse files
authored
refactor: react prompting pattern (#1168)
Signed-off-by: Louis Mandel <[email protected]>
1 parent f06fb3e commit 1bacaa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/prompt_library/ReAct.pdl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
description: ReAct pattern from Yao et al., [ICLR 2023](https://openreview.net/forum?id=WE_vluYUL-X)
22
# See alternative implementation here: https://smith.langchain.com/hub/hwchase17/react-chat
33
defs:
4-
react_block:
4+
render_icl_sample:
55
function:
66
trajectory: [ object ]
77
return:
@@ -58,7 +58,7 @@ defs:
5858
traj: ${ trajectories }
5959
repeat:
6060
text:
61-
call: ${ react_block }
61+
call: ${ render_icl_sample }
6262
args:
6363
trajectory: ${ traj }
6464
- ${ task }

0 commit comments

Comments
 (0)