File size: 188 Bytes
aad01e3
0e59554
 
afd8033
0e59554
 
 
aad01e3
 
1
2
3
4
5
6
7
8
9
10
from utils import get_search_index, get_qa_chain, generate_answer

def index():
    get_search_index()
    return True

def run(question):
    index()
    return generate_answer(question)