update
This commit is contained in:
11
src/mcts.jl
11
src/mcts.jl
@@ -294,10 +294,17 @@ function iterativeprompting(a::T, prompt::String, verification::Function) where
|
|||||||
|
|
||||||
msgMeta = GeneralUtils.generate_msgMeta(
|
msgMeta = GeneralUtils.generate_msgMeta(
|
||||||
a.config[:thirdPartyService][:text2textinstruct],
|
a.config[:thirdPartyService][:text2textinstruct],
|
||||||
|
senderName= "iterativeprompting",
|
||||||
|
senderId= a.id,
|
||||||
|
receiverName= "text2textinstruct",
|
||||||
)
|
)
|
||||||
|
|
||||||
outgoing =
|
outgoingMsg = Dict(
|
||||||
|
:msgMeta,
|
||||||
|
:payload=> Dict(
|
||||||
|
:text=> prompt,
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
# iteration loop
|
# iteration loop
|
||||||
while true
|
while true
|
||||||
|
|||||||
Reference in New Issue
Block a user