Prompt engineering helps me better understand the limits and ways to work around them. But it's still painful.
Today I tried summarizing a long video (~1 hour) using Videohighlight but their AI quickly reached the token limit.
I also tried to use ChatGPT to (somewhat ironically) translate a new AI chat regulation proposal by the Chinese government, for which the government asks public feedback. http://www.cac.gov.cn/2023-04/11/c_1682854275475410.htm 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.
> Translate the the policy document body part to English. Do not translate the introduction. Write in a manner that's easily readable for an audience that has no experience with Chinese policy, Chinese idioms or the way the Chinese government writes.