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