Answer Generation Module

  • Version 1

An answer generation module takes knowledge base addresses as an input from query control module. This module checks every queries on every input knowledge bases, and then gets and returns the final answers of the question.

Input

{
    "queries": [
        {"query": "query_1"},
        {"query": "query_2"},
        ...
        {"query": "query_a"}
    ],
    "conf": {
         "kb": ["kb_address_1", "kb_address_2", ..., "kb_address_b"],
    }
}

Output

{
    "answers": [
        {"query": "query_1", "answer": "answer_1"},
        {"query": "query_2", "answer": "answer_2"},
        ...
        {"query": "query_a", "answer": "answer_c"}
    ]
}