@besSveta , FYI, I introduced minor fixes to chat_history.msa:
nested if can be replaced with case
there is no need to wrap a string message into (), although it has an interesting effect - adding newlines. I added \\n to system messages to add these newlines more explicitly. Using () is ok if it is done intentionally, but I'm mentioning these aspects JIC
It's better to wrap messages into strings - not expressions like (The SingularityNET daemon is a sidecar ...). The latter creates a lot of atoms, which is less efficient than just having one grounded string (unless you want to use pattern matching over these atoms).
Please, check if you are ok with these changes.
@besSveta , FYI, I introduced minor fixes to chat_history.msa:
if
can be replaced withcase
()
, although it has an interesting effect - adding newlines. I added\\n
to system messages to add these newlines more explicitly. Using()
is ok if it is done intentionally, but I'm mentioning these aspects JIC(The SingularityNET daemon is a sidecar ...)
. The latter creates a lot of atoms, which is less efficient than just having one grounded string (unless you want to use pattern matching over these atoms). Please, check if you are ok with these changes.