(self, doc)
| 116 | return False |
| 117 | |
| 118 | def doc_to_text(self, doc): |
| 119 | return ( |
| 120 | "TITLE: " |
| 121 | + doc["title"] |
| 122 | + "\n" |
| 123 | + "ABSTRACT: " |
| 124 | + doc["abstract"] |
| 125 | + "\n\n" |
| 126 | + "Q: " |
| 127 | + doc["question"] |
| 128 | + "\n\n" |
| 129 | + "A:" |
| 130 | ) |
| 131 | |
| 132 | def doc_to_target(self, doc): |
| 133 | answer = doc["answer"] |
nothing calls this directly
no outgoing calls
no test coverage detected