(self, doc)
| 55 | return doc |
| 56 | |
| 57 | def doc_to_text(self, doc): |
| 58 | return ( |
| 59 | "TITLE: " |
| 60 | + doc["title"] |
| 61 | + "\n" |
| 62 | + "PARAGRAPH: " |
| 63 | + doc["paragraph"] |
| 64 | + "\n\n" |
| 65 | + "Q: " |
| 66 | + doc["question"] |
| 67 | + "\n\n" |
| 68 | + "A: " |
| 69 | ) |
| 70 | |
| 71 | def should_decontaminate(self): |
| 72 | return True |
nothing calls this directly
no outgoing calls
no test coverage detected