HanishKVC
217544e5ff
ChatON: Keep compiler happy
...
Order the functions so that no need for seperate prototypes
Also use kv_bool wrt boolean entries.
Convert string to c char *
2024-05-06 11:27:56 +05:30
HanishKVC
3f9dfc240c
ChatON: Check for the boolean entries in meta-json
2024-05-06 11:27:56 +05:30
HanishKVC
42f6b45547
ChatON: Use the constants defined for the keys
2024-05-06 11:27:56 +05:30
HanishKVC
efb758ba7d
ChatON: Rename helpers to kv suffix, updated wrt metaok
...
rename because they return value of specified key.
[main] update metaok to take template-id, so that one can cross
check that all needed entries are there wrt that template-id in
the chaton-meta-json file
2024-05-06 11:27:56 +05:30
HanishKVC
e8c24c0767
ChatOn:MetaOk: Allows template-id based cross check
...
For a given template-id, cross check, all needed entries are there
in the json.
2024-05-06 11:27:56 +05:30
HanishKVC
b1055641e9
ChatON: Update the notes a bit
2024-05-06 11:27:56 +05:30
HanishKVC
11b47fbcfc
ChatON:MetaJson: Add key constants, check metaJson loaded ifNeeded
2024-05-06 11:27:56 +05:30
HanishKVC
221ccd6462
ChatOn: Add SystemUser-1st-User-Has-Prefix flag support
...
Llama2 seems to need it, so chaton-meta-json sample file updated
to use same.
2024-05-06 11:27:56 +05:30
HanishKVC
f03dd2439f
ChatOn:No global-begin/end in ChatApplyTmplSingle, ChatApplyTmpl
...
Avoid adding global begin/end markers wrt ChatApplyTmplSingle.
Add ChatApplyTmpl which goes through a vector of messages.
2024-05-06 11:27:56 +05:30
HanishKVC
c4cf0e9075
ChatON:Cleanup: BeginEnd, Debug log
...
Update the note
Rename global-prefix|suffix to global-begin|end.
Rename chat-apply-template to chat-apply-template-single, cas it
handles only a single message.
Add some debug log messages to the helper functions
2024-05-06 11:27:56 +05:30
HanishKVC
050d329e7e
ChatOn+Main: Initial go at chaton in main interactive flow
2024-05-06 11:27:55 +05:30
HanishKVC
dc56be951d
ChatOn:Main: Load and dump any specified chaton meta file
2024-05-06 11:27:55 +05:30
HanishKVC
2146a253e8
ChatOn: Capture the idea
2024-05-06 11:27:55 +05:30