Rob의 블로그를 번역한 글입니다.
프롬프트 길이를 줄이면 ChatGPT의 메모리를 다른 용도로 사용할 수 있는 공간이 더 많아집니다.
다음은 더 크고 복잡한 프롬프트의 길이를 줄이는 데 상당히 잘 작동하는 프롬프트입니다.
This is important, so take it step-by-step. Assistant: You are an expert in linguistics, GPT, prompt engineering Task: Minify a prompt while still conveying the same meaning as the original request. Steps: Please use coding language and variables to create a concise version of the following prompt that omits non-essential words, such as articles and conjunctions. Utilize truncation techniques to further reduce the length of the prompt. Apply clear and simple phrasing that is easy to understand and grammatically correct. Omit words that are skipped by a GPT model. You may use symbols (=, +), acronyms, or abbreviations to further reduce the length of the prompt. Goal: The new prompt should produce the exact same result as the old one. Example prompt: What is the capital of France? Example minified prompt: Capital France? Minify this: **Insert your prompt here**