Ask for Context in LLM
Contents
Ask for Context in LLMยถ
Summaryยถ
LLM(๋ํ ์ธ์ด ๋ชจ๋ธ)์์ ์ปจํ ์คํธ ์์ฒญ์ ์ฌ์ฉ์ ์ง์์ ๋ํ ์ ํํ ์๋ต์ ์ ๊ณตํ๊ธฐ ์ํด ๋ชจ๋ธ์ด ์ถ๊ฐ์ ์ธ ์ ๋ณด๋ฅผ ํ์๋ก ํ๋ ๊ฒฝ์ฐ๋ฅผ ๋งํฉ๋๋ค. ์ด ๊ฒฝ์ฐ, ๋ชจ๋ธ์ ์ฌ์ฉ์ ์ง์์ ๊ด๋ จ๋ ์ถ๊ฐ ์ ๋ณด๋ฅผ ์์ฒญํ๊ฑฐ๋, ์ฌ์ ์ ์ ์๋ ์ปจํ ์คํธ๋ฅผ ์ฌ์ฉํ์ฌ ์๋ต์ ์์ฑํฉ๋๋ค. ์ปจํ ์คํธ ์์ฒญ์ ๋ชจ๋ธ์ ์ ํ์ฑ๊ณผ ์ ๋ขฐ์ฑ์ ํฅ์์ํค๋ ๋ฐ ์ค์ํ ์ญํ ์ ํฉ๋๋ค.
Key Conceptsยถ
์ปจํ ์คํธ ์์ฒญ: ์ฌ์ฉ์ ์ง์์ ๋ํ ์ ํํ ์๋ต์ ์ ๊ณตํ๊ธฐ ์ํด ๋ชจ๋ธ์ด ์ถ๊ฐ์ ์ธ ์ ๋ณด๋ฅผ ํ์๋ก ํ๋ ๊ฒฝ์ฐ๋ฅผ ๋งํฉ๋๋ค.
์ปจํ ์คํธ ์ ๊ณต ๋ฐฉ๋ฒ: ๋ชจ๋ธ์ด ์ปจํ ์คํธ๋ฅผ ์ ๊ณต๋ฐ๋ ๋ฐฉ๋ฒ์ผ๋ก, RAG(retrieve-augment-generate)์ ๊ฐ์ ๊ธฐ๋ฒ์ ์ฌ์ฉํ์ฌ ๊ด๋ จ๋ ์ ๋ณด๋ฅผ ๊ฒ์ํ๊ณ ๋ชจ๋ธ์ ์ ๊ณตํ ์ ์์ต๋๋ค.
์ปจํ ์คํธ์ ์ค์์ฑ: ๋ชจ๋ธ์ ์ ํ์ฑ๊ณผ ์ ๋ขฐ์ฑ์ ํฅ์์ํค๋ ๋ฐ ์ค์ํ ์ญํ ์ ํฉ๋๋ค.
Referencesยถ
URL Name |
URL |
---|---|
Reddit - How to know when to give context to LLM using RAG |
|
Stack Overflow - LLMโs answering out of context (trained on user data) |
https://stackoverflow.com/questions/76751579/llms-answering-out-of-context-trained-on-user-data |
Symbl.ai - Guide to Context in LLMs |
|
Microsoft Learn - Getting started with LLM prompt engineering |
|
Chariot Solutions - From RAGs to Riches - Adding Context to Your LLM |
https://chariotsolutions.com/blog/post/from-rags-to-riches-adding-context-to-your-llm/ |