优化提示词
This commit is contained in:
@@ -24,10 +24,4 @@ class Converter(Protocol):
|
||||
...
|
||||
|
||||
async def convert_async(self,document:Document)->str:
|
||||
...
|
||||
|
||||
def set_config(self,cofig:dict):
|
||||
...
|
||||
|
||||
def get_config_list(self)->list[str]|None:
|
||||
...
|
||||
@@ -72,12 +72,6 @@ class ConverterDocling(Converter):
|
||||
# translater_logger.info(f"docling转换耗时: {conversion_result.timings["pipeline_total"].times}")
|
||||
return result
|
||||
|
||||
def set_config(self, cofig: dict):
|
||||
pass
|
||||
|
||||
def get_config_list(self) -> list[str] | None:
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
pass
|
||||
|
||||
@@ -124,12 +124,6 @@ class ConverterMineru(Converter):
|
||||
self.logger.info(f"已转换为markdown,耗时{time.time() - time1}秒")
|
||||
return result
|
||||
|
||||
def set_config(self, cofig: dict):
|
||||
pass
|
||||
|
||||
def get_config_list(self) -> list[str] | None:
|
||||
pass
|
||||
|
||||
|
||||
def get_md_from_zip_url_with_inline_images(
|
||||
zip_url: str,
|
||||
|
||||
Reference in New Issue
Block a user