yihong0618/bilingual_book_maker

能否支持自动跳过功能

Open

#311 opened on Jul 11, 2023

View on GitHub
 (1 comment) (1 reaction) (0 assignees)Python (978 forks)batch import
good first issue

Repository metrics

Stars
 (6,557 stars)
PR merge metrics
 (Avg merge 2h 1m) (1 merged PR in 30d)

Description

我使用的是基于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