Open topic with navigation
To set up your answer server, you must configure one or more systems to use to retrieve questions. The
[Systems] configuration section contains a list of systems that you want to configure.
The order in which you specify the systems is also the default order in which Answer Server requests answers from the systems. You can override this ordering for an individual action (see Ask Questions in Answer Server).
For each of these systems, you then create a configuration section with the same name, which contains the settings for that system.
System names are case-sensitive.
For an Answer Bank system, you must set
answerbank. You must also configure the host and port of the Agentstore component that you are using as the Answer Bank.
[MyAnswerBank] Type=answerbank IDOLHost=localhost IDOLACIPort=6000
For more information, see Set Up an Answer Bank System.
For a Fact Bank system, you must set
factbank. You must also configure the question parser grammars, the fact store, and the location of the coding files.
[MyFactBank] Type=factbank // Question Parser EductionQuestionGrammars=FactBankEductionGrammar.ecr EductionTimeGrammars=datetime_processing.ecr EductionLuaScript=lua/FactBankEduction.lua TimeLuaScript=lua/DateTime.lua // Fact Store BackendType=sqldb ConnectionString=Driver=PostgreSQL ANSI(x64); Server=sql-host.mycompany.com; Port=5432; Database=factstoredb; Uid=postgres;password=password;// Coding Files CodingsPath=./codings CodingsDatPath=./codings
For more information, see Set Up a Fact Bank System.
For a Passage Extractor system, you must set
passageextractor. You must also configure the host and port of the IDOL Content component data store, as well as the Eduction grammars and Agentstore components to use for entity extraction. You can also optionally define the locations of the classifier file and label file to allow you to save your training classifiers.
[MyPassageExtractor] Type=PassageExtractor // Data store IDOL IdolHost=localhost IdolAciport=6002 // Entity Agentstore AgentStoreHost=localhost AgentStoreAciport=5002 // Eduction EductionGrammars=pe_grammar.ecr,NUM.ecr,HUM.ecr,date_eng.ecr,money_eng.ecr // Classifier Files ClassifierFile=en_svm.dat LabelFile=en_labels.dat
For a Conversation system, you must set
conversation. You must also configure the location of a task configuration file, which defines the conversation task in more detail. You can also optionally define the location of an Agentstore component to use to store conversation trigger agents, and session expiration for the conversation sessions.
[MyConversation] Type=Conversation TaskConfigurationFile=C:\AnswerServer\Conversation\tasks.json // Trigger Agentstore AgentStoreHost=localhost AgentStoreAciport=5002 // Session Expiration SessionExpirationIdleTime=600 SessionExpirationInterval=60