๋ค์๋ค์ ๊ฐ์ด๋
NVIDIA Riva ๋ฐ NeMo ์ฐ์ค
์ค๋์ค AI
๊ธฐ์ ๊ฐ์ด๋
NVIDIA NeMo Guardrails๋ LLM ์ ํ๋ฆฌ์ผ์ด์ ์ฃผ์์ ์ฒดํฌ์ ๋ํ ํ๋ฆ์ ๊ตฌ์ฑํ๊ธฐ ์ํ ์คํ์์ค ํดํท์ ๋๋ค.
์ด ๊ฐ์ด๋๋ฅผ ๋ค์ด๋ณด์ธ์AI ๋ด๋ ์ด์ ยท ~3 min
ํ์ฌ ๋ฌธ์๋ ๋ ์ผ์ ์ ๋ ฅ, ๊ฒ์, ๋ํ, ์คํ, ์ถ๋ ฅ ๋จ๊ณ๋ก ๊ทธ๋ฃนํํ์ฌ ํ์ด ์ ์ ํ ์์น์ ์ ์ด๋ฅผ ๋ฐฐ์นํ๋ฉด์ ํ ์คํธ์ ์ํ ์ฑ ์์ ์ ์งํ ์ ์๋๋ก ํฉ๋๋ค.
NeMo Guardrails provides a configurable layer around a generative application. Rather than treating a system prompt as the only policy control, a team can place checks at several stages and define how conversation flows should behave. The current NVIDIA documentation describes five rail types. Input rails validate or sanitize user inputs before a model call. Retrieval rails filter and validate retrieved knowledge. Dialog rails constrain multi-turn conversational flow. Execution rails control and validate tool or function calls, including their arguments and results. Output rails inspect and may filter or post-process generated responses before a user sees them. The toolkit uses configuration files and Colang flows to express guardrail behavior, and it can include custom Python actions. Teams can combine built-in mechanisms, external models, third-party services, or application-specific logic; which implementation runs depends on the chosen configuration. This flexibility makes it important to inspect the exact configured path rather than assume a feature name implies a particular classifier, model call, or enforcement guarantee. Rails may add computation or latency, especially when they call models or remote services, but the cost depends on the configuration. A useful design begins with a threat model and data flow. Decide what can enter the application, what retrieved material reaches the model, which tools can be called, and what outputs need review. Apply checks at those boundaries and make tool authorization enforceable in the application itself. Then test allowed and disallowed scenarios, including malformed tool arguments, irrelevant retrieval chunks, multi-turn attempts to steer the conversation, and service failures. Guardrails can reduce risk and make behavior more explicit; they cannot guarantee factual accuracy, prevent every attack, or replace monitoring and human escalation where stakes require it.
์ ํ๋ฆฌ์ผ์ด์ ์ ๋ชจ๋ธ ํธ์ถ ์ ์ ์์ ๋ฉ์์ง๋ฅผ ๊ฒ์ฆํ๊ฑฐ๋ ์ ์ ํ๊ธฐ ์ํด ์ ๋ ฅ ๋ ์ผ์ ์ถ๊ฐํ ๋ค, ์ถ๊ฐ ๊ฒ์ฌ๊ฐ ํฉ๋ฒ์ ์ธ ์์ฒญ์ ์ฐจ๋จํ๋์ง ์ธก์ ํฉ๋๋ค.
๊ฒ์ ๋ ์ผ์ ๊ฒ์-์ฆ๊ฐ ์์ฑ ์ปจํ ์คํธ์ ๋ค์ด๊ฐ๊ธฐ ์ ์ ๋ฌธ์์ ์ฒญํฌ๋ฅผ ํํฐ๋งํ๊ฑฐ๋ ๊ฒ์ฆํฉ๋๋ค.
๋๊ตฌ ์ฌ์ฉ ๋ณด์กฐ์๋ ์ธ๋ถ ์์ ์ด ์คํ๋๊ธฐ ์ ์ ์์ฒญ๋ ํจ์์ ๊ทธ ์ธ์๋ฅผ ๊ฒ์ฆํ๊ธฐ ์ํด ์คํ ๋ ์ผ์ ์ ์ฉํฉ๋๋ค.
ํ์ Colang๊ณผ ๋ง์ถค Python ๋์์ผ๋ก ๋ํ ํ๋ฆ์ ๊ตฌ์ฑํ ๋ค, ํ์ฉ ๊ฒฝ๋ก์ ๊ธ์ง ๊ฒฝ๋ก ๋ชจ๋์ ๋ํด ๊ตฌ์ฑ์ ํ๊ฐํฉ๋๋ค.
Guardrail ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ ํ๋กฌํํธ ๋ฐ ์๋ต ํํฐ์์ ๊ฒ์, ๋๊ตฌ, ๋ํ ์ํ, ๋ฐฐํฌ ์์ ์ ํฌ๊ดํ๋ ์ ์ด๋ก ํ์ฅ๋๊ณ ์์ต๋๋ค. ์ด ๋์ ๋ฒ์๋ ํ์ด ๋ค๋ฃจ๋ ์ํ์ ๋ ๊ฐ๊น์ด ์ ์ฑ ์ ํํํ๋๋ก ๋์ฐ๋ฉฐ, ๊ตฌ์ฑ ๋ฐ ํ๊ฐ ์์ ์ ๋๋ฆฝ๋๋ค. ์ง์ ๊ฐ๋ฅํ ๊ดํ์ ๋ ์ผ ์ ์๋ฅผ ๋ฒ์ ๊ด๋ฆฌํ๊ณ , ์ ํ๋ฆฌ์ผ์ด์ ์๋๋ฆฌ์ค์ ๋ํด ํ ์คํธํ๋ฉฐ, ๋ชจ๋ธ, ๋๊ตฌ, ๋ฐ์ดํฐ ์์ค๊ฐ ๋ณ๊ฒฝ๋ ๋๋ง๋ค ๊ฒํ ํ๋ ๊ฒ์ ๋๋ค. ๋ ์ผ ์ปค๋ฒ๋ฆฌ์ง๋ ์์คํ ์ ๋๋จธ์ง ์คํจ ๊ฒฝ๋ก์ ํจ๊ป ์ค๋ช ๋์ด์ผ ํฉ๋๋ค. ํ์ ๋ํ ์๋ชป ๊ตฌ์ฑ๋ ์ ์ด๋ฅผ ๊ด์ฐฐํ๊ณ ์๋ฆฌํ๋ ๋ฐฉ๋ฒ์ ๊ณํํด์ผ ํฉ๋๋ค.
๋ฌด๋ฃ ๋ด์ค๋ ํฐ
๋งค์ฃผ ํ์ผ ์์นจ๋ง๋ค 3๊ฐ์ ๊ฒ์ฆ๋ AI ์คํ ๋ฆฌ๋ฅผ ์ผ๋ฐ ์์ด๋ก ์์ฑํฉ๋๋ค. ๋ฌด๋ฃ์ด๋ฉฐ, ๊ด๊ณ ์์.
๋งค์ฃผ ํ์ผ๋ง๋ค ํ ๋ฒ ์ด๋ฉ์ผ์ ๋ฐ์ต๋๋ค. ํ ๋ฒ ํด๋ฆญ์ผ๋ก ๊ตฌ๋ ํด์ง. ์ฃผ์๋ฅผ ํ๋งคํ๊ฑฐ๋ ๊ณต์ ํ์ง ์์ต๋๋ค.
์์ ์ ํ ์คํธํด ๋ณด์ธ์
๋ชจ๋ ๋ต๋ณ์ ์ฆ๊ฐ์ ์ธ ํผ๋๋ฐฑ๊ณผ, ๊ณผ์ ์ ํต๊ณผํ๋ฉด ๊ฒ์ฆ ๊ฐ๋ฅํ ID๊ฐ ์๋ ๊ณต์ ๊ฐ๋ฅํ ์ธ์ฆ์๋ฅผ ์ ๊ณตํฉ๋๋ค.
๋ฌด๋ฃ AI ๊ต์ก์ ์ง์ํฉ๋๋ค. AI Understanding๋ 501(c)(3) ๋น์๋ฆฌ ๋จ์ฒด์ ๋๋ค โ ๊ด๊ณ ์์, ์ ๋ฃ ์ฅ๋ฒฝ ์์, ์์ํ. ๊ธฐ๋ถํ๊ธฐ
NVIDIA NeMo Guardrails๋ LLM ์ ํ๋ฆฌ์ผ์ด์ ์ฃผ์์ ์ฒดํฌ์ ๋ํ ํ๋ฆ์ ๊ตฌ์ฑํ๊ธฐ ์ํ ์คํ์์ค ํดํท์ ๋๋ค. ํ์ฌ ๋ฌธ์๋ ๋ ์ผ์ ์ ๋ ฅ, ๊ฒ์, ๋ํ, ์คํ, ์ถ๋ ฅ ๋จ๊ณ๋ก ๊ทธ๋ฃนํํ์ฌ ํ์ด ์ ์ ํ ์์น์ ์ ์ด๋ฅผ ๋ฐฐ์นํ๋ฉด์ ํ ์คํธ์ ์ํ ์ฑ ์์ ์ ์งํ ์ ์๋๋ก ํฉ๋๋ค.
NVIDIA๋ ์ ๋ ฅ ๋ ์ผ์ LLM ํธ์ถ ์ ์ ์ ์ฉ๋๋ ๊ฒ์ฆ ๋๋ ์ ์ ์ฒดํฌ๋ก ์ ์ํฉ๋๋ค.
๋ฌธ์๋ ๊ฒ์ ๋ ์ผ์ด ๊ฒ์๋ ์ง์๊ณผ ์ฒญํฌ๋ฅผ ํํฐ๋งํ๊ณ ๊ฒ์ฆํ๋ค๊ณ ์ค๋ช ํฉ๋๋ค.
์คํ ๋ ์ผ์ ๋๊ตฌ ๊ฒฝ๊ณ์์ ํธ์ถ, ์ธ์ ๋ฐ ๊ฒฐ๊ณผ๋ฅผ ๊ฒ์ฆํฉ๋๋ค.
NVIDIA๋ ๋ํ ๋ ์ผ์ ๋ค์ค ํด ๋ํ ํ๋ฆ์ ์๋ดํ๊ณ ์ ์ฝํ๋ ๊ฒ์ผ๋ก ์ค๋ช ํฉ๋๋ค.
๊ฐ์์ ๋ฐ๋ฅด๋ฉด YAML์ ๋ชจ๋ธ, ํ๋กฌํํธ, ๋ ์ผ ๋ฐ ๋ฐํ์ ์ค์ ์ ์ ์ํ๊ณ , Colang์ ํ๋ฆ๊ณผ ๊ฐ๋๋ ์ผ ๋ ผ๋ฆฌ๋ฅผ ์ ์ํฉ๋๋ค.
๊ณ์ ํ์ตํ์ธ์
์ด ์ฃผ์ ์ ๋ํด ์ ํ๋ ์ถ๊ฐ ๊ฐ์ด๋
๋ค์๋ค์ ๊ฐ์ด๋
NVIDIA Riva ๋ฐ NeMo ์ฐ์ค
์ค๋์ค AI