Answer Server 23.4

# 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. See Systems Configuration Parameters.

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 and Answer Bank System Configuration Parameters.

## 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=./resources/grammars/question_grammar_en.ecr
    EductionLuaScript=./resources/lua/question_grammar_en.lua
    EductionTimeGrammars=./resources/grammars/datetime_processing.ecr
    TimeLuaScript=./resources/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 and Fact Bank System Configuration Parameters.

## 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=./resources/grammars/question_grammar_en.ecr,./passageextractor/eduction/number_en.ecr,./passageextractor/eduction/person_en.ecr,./passageextractor/eduction/date_en.ecr,./passageextractor/eduction/money_en.ecr
    // Classifier Files
    ClassifierFile=./passageextractor/classifiertraining/svm_en.dat
    LabelFile=./passageextractor/classifiertraining/labels_en.dat
    EntityExtractionFile=./passageextractor/configuration/entity_extraction_en.json
    SurfacePatternsFile=./passageextractor/configuration/surface_patterns_en.json
    ClassifierBehaviorFile=./passageextractor/configuration/classifier_behavior.json

For more information, see Set Up a Passage Extractor System and Passage Extractor System Configuration Parameters.

## 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

For more information, see Set Up a Conversation System and Conversation System Configuration Parameters.

## Configure a Remote System

For a Remote system, you must set Type to `Remote`. You must also configure the location of the remote Answer Server, and the name of the system that is configured in the remote Answer Server. You can also optionally configure default values for Ask action parameters.

    [MyRemoteSystem]
    Type=Remote
    AnswerSystem=AnswerBank
    AnswerServerACIPort=7000
    AnswerServerHost=server1.example.com

For more information, see Set Up a Remote Answer System and Remote System Configuration Parameters.

Copyright 2016-2023 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Answer Server 23.4

Topic Title: Configure Answer Server Systems