update
This commit is contained in:
@@ -1217,11 +1217,11 @@ function generatechat(memory::Dict, chathistory::Vector, text2textInstructLLM::F
|
||||
"""
|
||||
|
||||
context_1 = length(memory[:shortmem]) > 0 ? vectorOfDictToText(memory[:shortmem], withkey=false) : "None"
|
||||
chathistory = vectorOfDictToText(a.chathistory)
|
||||
_chathistory = vectorOfDictToText(chathistory)
|
||||
usermsg =
|
||||
"""
|
||||
Context: $context_1
|
||||
Your earlier conversation with the user: $chathistory)
|
||||
Your earlier conversation with the user: $_chathistory)
|
||||
Your thoughts: $(memory[:chatbox])
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user