yihong0618/bilingual_book_maker

能否支持自动跳过功能

Open

#311 geöffnet am 11. Juli 2023

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)Python (6.557 Stars) (978 Forks)batch import
good first issue

Beschreibung

我使用的是基于Azure OpenAI搭建的OpenAI接口服务,Azure的内容审查要比OpenAI原版严格很多,时常出现因为内容审查导致翻译出错的情况,会显示“The response was filtered due to the prompt triggering Azure OpenAI’s content management policy. Please modify your prompt and retry.”,能否支持在限定时间未得到翻译结果的情况下直接跳过这段从而尝试翻译下一段的功能

Contributor Guide