Open topic with navigation

# Configure Answer Server Systems

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).

    [Systems]
    0=MyFactBank
    1=MyAnswerBank

For each of these systems, you then create a configuration section with the same name, which contains the settings for that system.

NOTE:

System names are case-sensitive.

## Configure an Answer Bank System

For an Answer Bank system, you must set `Type` to `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.

## Configure a Fact Bank System

For a Fact Bank system, you must set `Type` to `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.

## Configure a Passage Extractor System

For a Passage Extractor system, you must set `Type` to `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

## Configure a Conversation System

For a Conversation system, you must set `Type` to `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

© 2015-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm