Added documentation (#219)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
class LocalQnaPairLoader:
|
||||
|
||||
def load_data(self, content):
|
||||
''' Load data from a local QnA pair. '''
|
||||
question, answer = content
|
||||
content = f"Q: {question}\nA: {answer}"
|
||||
meta_data = {
|
||||
|
||||
Reference in New Issue
Block a user