This commit is contained in:
2023-11-26 14:35:05 +00:00
parent efd01cb525
commit da983f2874
3 changed files with 69 additions and 19 deletions

View File

@@ -28,7 +28,7 @@ function makeSummary(a::T1, input::T2) where {T1<:agent, T2<:AbstractString}
<|im_start|>assistant
"""
prompt = replace(prompt, "{input}" => usermsg)
prompt = replace(prompt, "{input}" => input)
result = sendReceivePrompt(a, prompt)
result = GeneralUtils.getStringBetweenCharacters(result, "{", "}")
if result == "yes"