4. Advanced Prompt Engineering
Contents
4. Advanced Prompt Engineeringยถ
Summaryยถ
Advanced Prompt Engineering์ LLM์ ์ฑ๋ฅ์ ํฅ์์ํค๊ธฐ ์ํ ๋ค์ํ ๊ธฐ์ ์ ๋ค๋ฃน๋๋ค. ์ด ๊ธฐ์ ๋ค์ LLM์ด ๋ณต์กํ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ณ , ์ ๋ฌธ๊ฐ ์์ค์ ์๋ต์ ์ ๊ณตํ๋ฉฐ, ์ธ๋ถ ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ํตํฉํ ์ ์๋๋ก ๋์์ค๋๋ค. ์ฃผ์ ๊ฐ๋ ์ผ๋ก๋ Chain-of-Thought Prompting, Automatic Prompt Engineering, Retrieval Augmented Generation(RAG) ๋ฑ์ด ํฌํจ๋ฉ๋๋ค. ์ด๋ฌํ ๊ธฐ์ ์ ํตํด LLM์ ๋ฌธ์ ํด๊ฒฐ ๋ฅ๋ ฅ์ ํฅ์์ํค๊ณ , ๋ค์ํ ์์ฉ ๋ถ์ผ์์ ํ์ฉํ ์ ์์ต๋๋ค.
Key Conceptsยถ
Chain-of-Thought Prompting : LLM์ด ๋ณต์กํ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด ๋จ๊ณ๋ณ ์ฌ๊ณ ๊ณผ์ ์ ๋ฐ๋ผ๊ฐ๋๋ก ์ ๋ํ๋ ๊ธฐ์ ์ ๋๋ค.
Automatic Prompt Engineering : LLM์ด ์๋์ผ๋ก ์ต์ ์ ํ๋กฌํํธ๋ฅผ ์์ฑํ๊ณ , ์ด๋ฅผ ํตํด ๋ฌธ์ ํด๊ฒฐ ๋ฅ๋ ฅ์ ํฅ์์ํค๋ ๊ธฐ์ ์ ๋๋ค.
Retrieval Augmented Generation(RAG) : LLM์ด ์ธ๋ถ ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ํตํฉํ์ฌ, ๊ด๋ จ ์ ๋ณด๋ฅผ ๊ฒ์ํ๊ณ ์ด๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ์๋ต์ ์์ฑํ๋ ๊ธฐ์ ์ ๋๋ค.
Expert Prompting : LLM์ด ์ ๋ฌธ๊ฐ ์์ค์ ์๋ต์ ์ ๊ณตํ๊ธฐ ์ํด, ๋ค์ํ ์ ๋ฌธ๊ฐ์ ๊ด์ ์ ํตํฉํ๋ ๊ธฐ์ ์ ๋๋ค.
Active Prompting : LLM์ด ๋ถํ์ค์ฑ์ ๊ธฐ๋ฐ์ผ๋ก ํ์ฑ ํ์ต์ ํตํด ํ๋กฌํํธ๋ฅผ ์ต์ ํํ๋ ๊ธฐ์ ์ ๋๋ค.
Referencesยถ
URL ์ด๋ฆ |
URL |
---|---|
Advanced Prompt Engineering for LLMs |
|
Prompt Design and Engineering: Introduction and Advanced Methods |
|
Advanced Prompt Engineering - by Cameron R. Wolfe, Ph.D. |
https://cameronrwolfe.substack.com/p/advanced-prompt-engineering |
Advanced Prompt Engineering Techniques - Mercity AI |
https://www.mercity.ai/blog-post/advanced-prompt-engineering-techniques |
Advanced Prompt Engineering - Practical Examples - TensorOps |
https://www.tensorops.ai/post/prompt-engineering-techniques-practical-guide |