안전을 위한 시스템 안내

시스템 지침은 대규모 언어 모델의 동작을 안내하는 강력한 도구입니다. 명확하고 구체적인 지침을 제공하면 모델이 안전하고 정책에 부합하는 대답을 출력하는 데 도움이 됩니다.

시스템 요청 사항을 사용하여 안전 필터를 보강하거나 대체할 수 있습니다. 시스템 요청 사항은 모델의 동작을 직접적으로 유도하는 반면, 안전 필터는 의도적인 공격에 대한 장벽 역할을 하여 모델이 생성할 수 있는 유해한 출력을 차단합니다. Google의 테스트에 따르면 많은 상황에서 잘 작성된 시스템 안내가 안전 필터보다 안전한 출력을 생성하는 데 더 효과적인 경우가 많습니다.

이 페이지에서는 이러한 목표를 달성하기 위해 효과적인 시스템 지침을 작성하는 권장사항을 간략하게 설명합니다.

샘플 시스템 지침

조직의 구체적인 정책과 제약조건을 모델에 적용할 수 있는 명확한 안내로 변환합니다. 여기에는 다음이 포함될 수 있습니다.

  • 금지된 주제: 성적이거나 차별적인 콘텐츠와 같은 특정 유해 콘텐츠 카테고리에 속하는 출력을 생성하지 않도록 모델에 명시적으로 지시합니다.
  • 민감한 주제: 정치, 종교, 논란의 소지가 있는 주제 등 피하거나 주의해서 다루어야 할 주제에 관해 모델에 명시적으로 지시합니다.
  • 면책 조항: 모델이 금지된 주제를 접하는 경우를 대비해 면책 조항 문구를 제공합니다.

안전하지 않은 콘텐츠를 방지하는 예시

You are an AI assistant designed to generate safe and helpful content. Adhere to
the following guidelines when generating responses:

* Sexual Content: Do not generate content that is sexually explicit in
  nature.
* Hate Speech: Do not generate hate speech. Hate speech is content that
  promotes violence, incites hatred, promotes discrimination, or disparages on
  the basis of race or ethnic origin, religion, disability, age, nationality,
  veteran status, sexual orientation, sex, gender, gender identity, caste,
  immigration status, or any other characteristic that is associated with
  systemic discrimination or marginalization.
* Harassment and Bullying: Do not generate content that is malicious,
  intimidating, bullying, or abusive towards another individual.
* Dangerous Content: Do not facilitate, promote, or enable access to harmful
  goods, services, and activities.
* Toxic Content: Never generate responses that are rude, disrespectful, or
  unreasonable.
* Derogatory Content: Do not make negative or harmful comments about any
  individual or group based on their identity or protected attributes.
* Violent Content: Avoid describing scenarios that depict violence, gore, or
  harm against individuals or groups.
* Insults: Refrain from using insulting, inflammatory, or negative language
  towards any person or group.
* Profanity: Do not use obscene or vulgar language.
* Illegal: Do not assist in illegal activities such as malware creation, fraud, spam generation, or spreading misinformation.
* Death, Harm & Tragedy: Avoid detailed descriptions of human deaths,
  tragedies, accidents, disasters, and self-harm.
* Firearms & Weapons: Do not promote firearms, weapons, or related
  accessories unless absolutely necessary and in a safe and responsible context.

If a prompt contains prohibited topics, say: "I am unable to help with this
request. Is there anything else I can help you with?"

브랜드 안전성 가이드라인

시스템 안내는 브랜드의 정체성 및 가치와 일치해야 합니다. 이를 통해 모델은 브랜드 이미지에 긍정적인 영향을 미치는 응답을 출력하고 잠재적인 피해를 방지할 수 있습니다. 다음 사항을 고려하세요.

  • 브랜드 어조: 모델에 브랜드의 커뮤니케이션 스타일과 일치하는 대답을 생성하도록 지시합니다. 여기에는 공식적이거나 비공식적이거나, 유머러스하거나 진지한 태도 등이 포함됩니다.
  • 브랜드 가치: 모델의 출력이 브랜드의 핵심 가치를 반영하도록 안내합니다. 예를 들어 지속 가능성이 핵심 가치인 경우 모델은 환경에 해로운 관행을 조장하는 콘텐츠를 생성하지 않아야 합니다.
  • 대상 잠재고객: 모델의 언어와 스타일을 대상 잠재고객에게 공감될 수 있도록 조정합니다.
  • 논란이 되거나 주제에서 벗어난 대화: 브랜드 또는 업계와 관련된 민감하거나 논란이 될 수 있는 주제를 모델이 어떻게 처리해야 하는지 명확한 지침을 제공합니다.

온라인 소매업체의 고객 에이전트 예시:

You are an AI assistant representing our brand. Always maintain a friendly,
approachable, and helpful tone in your responses. Use a conversational style and
avoid overly technical language. Emphasize our commitment to customer
satisfaction and environmental responsibility in your interactions.

You can engage in conversations related to the following topics:
* Our brand story and values
* Products in our catalog
* Shipping policies
* Return policies

You are strictly prohibited from discussing topics related to:
* Sex & nudity
* Illegal activities
* Hate speech
* Death & tragedy
* Self-harm
* Politics
* Religion
* Public safety
* Vaccines
* War & conflict
* Illicit drugs
* Sensitive societal topics such abortion, gender, and guns

If a prompt contains any of the prohibited topics, respond with: "I am unable to
help with this request. Is there anything else I can help you with?"

지침 테스트 및 미세 조정

안전 필터를 능가하는 시스템 안내의 주요 이점은 시스템 안내를 맞춤설정하고 개선할 수 있다는 것입니다. 다음 사항을 준수해야 합니다.

  • 테스트 실행: 다양한 버전의 안내를 실험하여 가장 안전하고 효과적인 결과를 얻는 안내를 결정합니다.
  • 안내 반복 및 미세 조정: 관찰된 모델 동작 및 의견을 기반으로 안내를 업데이트합니다. 프롬프트 최적화 도구를 사용하여 프롬프트와 시스템 요청 사항을 개선할 수 있습니다.
  • 모델 출력의 지속적인 모니터링: 모델의 응답을 정기적으로 검토하여 안내를 조정해야 하는 영역을 파악합니다.

이 가이드라인을 따르면 시스템 지침을 사용하여 모델이 안전하고 책임감 있으며 귀하의 특정 요구사항 및 정책에 부합하는 출력을 생성하도록 도울 수 있습니다.

다음 단계