File size: 469 Bytes
ece4b12
 
 
100fffc
ece4b12
 
100fffc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ece4b12
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

class QAService:
    def __init__(self, conf):
        self.keys = get_files.get_keys()
        self.conf = conf

    def __enter__(self):
        print("Start QA Service")
        return self

    def __exit__(self, exc_type, exc_val, exc_tb):
        print("Exiting QA Service")

    # First embed question

    # Next, pass it into pinecone

    # Third, retrieve pinecone search

    # Structure query

    # inference QA model
    
    def run():
        return 0