relevanceai.operations.text.qa.qa#

Extract QA to generate summary or contextual question using the T5 model.

Module Contents#

class relevanceai.operations.text.qa.qa.QAOps(model_name: str = 'mrm8488/deberta-v3-base-finetuned-squadv2')#

QAOps

question_answer(self, question: str, context: str)#
bulk_question_answer(self, question, contexts)#