This commit is contained in:
narawat lamaiin
2024-04-26 21:34:41 +07:00
parent 8f68d177e7
commit e537fb82e4

View File

@@ -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