chore: removed markdown to plaintext function

This commit is contained in:
cachho
2023-06-23 14:24:43 +02:00
committed by Taranjeet Singh
parent feec5e4a09
commit e60f1680a0
2 changed files with 0 additions and 45 deletions

View File

@@ -1,11 +1,7 @@
from embedchain.utils import markdown_to_plaintext
class QnaPairLoader:
def load_data(self, content):
question, answer = content
answer = markdown_to_plaintext(answer)
content = f"Q: {question}\nA: {answer}"
meta_data = {
"url": "local",