The Answer Server configuration file contains information about the subcomponents and settings for your Conversation systems.
For any Conversation system, you must configure the name of a JSON task configuration file, which defines the conversation task in detail. For details about how to create this file, see Create a Task Configuration File.
The following procedure describes how to configure the Conversation system in Answer Server.
In addition, you can optionally configure session expiration for your conversation sessions, and settings for an IDOL Agentstore component that contains triggers for your conversation sessions.
For more details about the configuration parameters for the Conversation system, refer to the Answer Server Reference.
To configure the Conversation System
Open the Answer Server configuration file in a text editor.
Find the [Systems]
section, or create one if it does not exist. This section contains a list of systems, which refer to the associated configuration sections for each system.
After any existing systems, add an entry for your new Conversation system. For example:
[Systems] 0=MyAnswerBank 1=MyFactBank 2=MyPassageExtractor 3=MyConversation
Create a configuration section for your Conversation system, with the name that you specified. For example, [MyConversation]
.
Set Type
to Conversation
.
Set TaskConfigurationFile
to the path and file name of the JSON file that contains your task configuration file. You can also specify a comma-separated list of path and file names if you have split your task configuration across multiple files.
Save and close the configuration file.
Restart Answer Server for your changes to take effect.
For example:
[MyConversation] Type=Conversation TaskConfigurationFile=C:\AnswerServer\Conversation\tasks.json // Trigger Agentstore AgentStoreHost=localhost AgentStoreAciport=5002 // Session Expiration SessionExpirationIdleTime=600 SessionExpirationInterval=60
|