I used prompt engineering to get a translation quality and readability better than what I can get …
… I used prompt engineering to get a translation quality and readability better than what I can get through Google Translate. This isn't a short document but it's not very long either. I had to break it into three in order to get ChatGPT to translate it all. In case anyone is curious about the final translation: https://gist.github.com/FooBarWidget/201ea5e0983d05d21f6719b... This is the prompt I used, incorporating prompt engineering lessons I've learned. I assigned a role to the LLM, provided appropriate context, and provided constraints for its output. > You are a Chinese-to-English translator with decades of experience translating Chinese government policy documents to an audience that's not familiar with Chinese governance, nor with the way that the Chinese government writes. What follows is a part of a draft policy document on potentially regulating AI chat services. The Chinese government has asked the public for feedback. > Begin introduction: > ... > End introduction. > Begin part of policy document body: > ... > End part of policy document body. …
Original discussionMaximizing the Potential of LLMs: A Guide to Prompt Engineering176 source comments · at import