MCPcopy Create free account
hub / github.com/HKUDS/AutoAgent / DocumentConverter

Class DocumentConverter

autoagent/environment/mdconvert.py:141–145  ·  view source on GitHub ↗

Abstract superclass of all DocumentConverters.

Source from the content-addressed store, hash-verified

139
140
141 class DocumentConverter:
142 """Abstract superclass of all DocumentConverters."""
143
144 def convert(self, local_path: str, **kwargs: Any) -> Union[None, DocumentConverterResult]:
145 raise NotImplementedError()
146
147
148 class PlainTextConverter(DocumentConverter):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected