Upload ChatIPC.cpp
Browse files- ChatIPC.cpp +5 -1
ChatIPC.cpp
CHANGED
|
@@ -1807,7 +1807,11 @@ int main(int argc, char **argv){
|
|
| 1807 |
kb.set_def_depth(def_depth);
|
| 1808 |
|
| 1809 |
if (!load_kb.empty()){
|
| 1810 |
-
try {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1811 |
load_kb_binary(kb, load_kb, def_depth); cerr << "Loaded knowledge base: " << load_kb << "\n"; }
|
| 1812 |
catch (const exception &e){ cerr << "Error: " << e.what() << "\n"; }
|
| 1813 |
}
|
|
|
|
| 1807 |
kb.set_def_depth(def_depth);
|
| 1808 |
|
| 1809 |
if (!load_kb.empty()){
|
| 1810 |
+
try { print_kb_info(load_kb);
|
| 1811 |
+
cerr << "Loading knowledge base " << load_kb << " using values from " << argv[0] << " command-line interface options: --dictionary-depth " <<
|
| 1812 |
+
def_depth << ", --n-gram-max-size " << n_gram_size << ", --response-max-length " << response_maxlen <<
|
| 1813 |
+
", and --repeat-penalty " << repeat_penalty << "\n";
|
| 1814 |
+
cerr << "To change the value(s), use " << argv[0] << " command-line interface option(s).\n";
|
| 1815 |
load_kb_binary(kb, load_kb, def_depth); cerr << "Loaded knowledge base: " << load_kb << "\n"; }
|
| 1816 |
catch (const exception &e){ cerr << "Error: " << e.what() << "\n"; }
|
| 1817 |
}
|