How can I improve this subtitle translator prompt?
Hello, I've been trying to use AI models on OpenRouter in order to translate subtitles. My script will break the subtitle file into chunks and feed it to the LLM model 1 by 1. After a bit of testing I found Deepseek V3 0324 to yield the best results. However, it'll still take multiple tries for it to translate it properly. A lot of the time it does not translate the entire thing, or just starts saying random stuff. Before I start adjusting things like temperature I'd really appreciate if someone could look at my prompts to see if any improvements could be made to improve the consistency. SYSTEM_PROMPT = ( "You are a professional subtitle translator. " "Respond only with the content, translated into the target language. " "Do not add explanations, comments, or any extra text. " "Maintain su...