Running the Command Line Administration Tutorial
Siebel Smart Answer Server has a command line utility for basic administration tasks. This is especially important since both user and corpus creation and deleting is only available from the command line client.
To run the command line administration tutorial
Navigate to the
smart_answer_server
directory and execute: python cmd_admin.py help.Execute python cmd_admin.py help [command name] to show more information about each available command. The commands available from the command line cmd_admin.py tool are described in the following table.
Command Description createcorpus
Creates an empty collection of documents for later use.
createuser
Creates a user for using the Siebel Smart Answer Server.
deletecorpus
Deletes all data associated with a corpus.
deleteuser
Deletes a user.
domaintenance
Immediately execute a maintenance cycle on a corpus.
Note: A maintenance cycle synchronizes categories from Siebel, removes redundant or outdated examples that have accumulated in the corpus, and trains a new knowledge base.getmaintenance
Reports the time daily maintenance is set to run for a corpus.
help
Displays the list of commands available in the Command line administrative tool.
setmaintenance
Sets the time daily maintenance is set to run for a corpus.
shutdown
Cleanly shuts down the Siebel Smart Answer Server.
test
Executes a brief set of tests to verify basic functionality of the Siebel Smart Answer Server.
testnotification
Sends an email testing notification configuration.