chore: removed markdown to plaintext function
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user