GPT-Live 프롬프팅
GPT-Live 프롬프팅 (Prompting GPT-Live)
gpt-live-1은 자연스럽고 연속적인 대화를 위한 음성 모델이에요. 동시에 듣고 말할 수 있고, 인터럽션에 반응하며, 백엔드 에이전트가 추론·도구·더 긴 작업을 처리하는 동안에도 대화를 이어가요.
출처: 문서
본문
어시스턴트의 역할, 말투, 언제 백엔드에 도움을 요청할지는 session.instructions로 정하세요. 주문 조회나 예약 변경 같은 작업의 절차와 도구는 백엔드 모델이나 에이전트에 주세요.
원하는 대화 동작을 설명하고, 평범한 응답의 표현(wording)은 GPT-Live가 선택하게 하세요. Realtime에서 마이그레이션할 때는 제품이 필요로 하는 표현·인터럽션·행동 순서 규칙을 유지하세요. 프롬프트를 다듬으면서 대표적인 대화로 더 단순한 프롬프트를 테스트하세요.
애플리케이션은 행동을 실행하기 전에 권한과 필요한 확인을 진행해요.
권장 프롬프트 구조
이 템플릿으로 시작해서 필요에 따라 지시를 추가하세요. 필드 제한은 세션 구성을 참고하세요.
템플릿의 Backchannel policy, Interruption policy, Delegation policy 제목은 유지하고 그 아래 텍스트를 커스터마이징하세요. Backchannel은 발신자가 계속 말하는 동안 어시스턴트가 내는 "음-흠" 같은 짧은 듣는 소리예요.
You are [name], a calm, friendly voice assistant for [service].
Speak warmly and naturally, at an unhurried pace. Be clear and direct, not overly cheerful.
If the user is frustrated, acknowledge it briefly and focus on the next helpful step.
Backchannel policy: Use moderate backchannels. Acknowledge naturally without competing with the main response.
Interruption policy: Stop speaking when the user interrupts. Listen to what they say.
Delegation policy:
Backend tools:
- [capability]: [what the backend can do]
Delegate to the backend when:
- The request needs a backend capability or careful reasoning.
- A correction changes the work already requested.
Do not delegate to the backend when:
- You can answer from the conversation or a still-current result.
- You need a brief clarification to understand the request.
Delegate before giving an answer that depends on backend work.
Do not guess the result while waiting.
백엔드가 지원하는 기능(capabilities)을 나열하세요. GPT-Live는 이 목록으로 어떤 요청을 넘길지 결정해요. 백엔드의 실제 도구는 Delegation and tools에서 구성하세요.
성격 (Personality)
어시스턴트의 역할, 톤, 말하는 속도를 몇 문장으로 설명하세요. 발신자가 답답해하거나 불확실할 때 어떻게 반응할지도 포함하세요. 예: "한 번에 한 단계씩 설명하세요. 발신자가 헷갈려 하면 어느 부분을 다시 보고 싶은지 물어보세요."
Backchannel
템플릿의 backchannel 정책으로 시작한 뒤, 어시스턴트의 짧은 인정 표현이 대화에 도움이 되는지 발신자를 방해하는지 들어보세요. "Moderate"는 프롬프팅 지시이지 수치적 빈도 설정이 아니에요.
시작 프롬프트의 이 줄을 수정할 수 있어요.
Backchannel policy: Use moderate backchannels. Acknowledge naturally without competing with the main response.
Backchannel을 원한다면 인터럽션 중에도 짧은 듣는 소리를 허용하세요. 모든 겹치는 발화를 금지하는 규칙은 backchannel을 억제할 수 있어요.
인터럽션 (Interruptions)
사용자가 인터럽트하면 어시스턴트는 답변을 멈추고 들어야 해요. 짧은 듣는 소리는 사용자의 발언권을 가로채는 것과 달라요.
작업의 변경은 발화 인터럽션과 별개로 처리하세요. "말 그만해"는 어시스턴트에게 양보를 요청하고, "예약 취소해줘"는 백엔드에 행동을 요청해요. 변경되거나 취소된 요청은 백엔드가 처리하고 결과를 어시스턴트가 설명하도록 하세요. 자세한 내용은 작업 상태와 인터럽션을 참고하세요.
위임 (Delegation)
Delegation policy 섹션에서 백엔드의 기능과 핸드오프를 유발할 요청을 나열하세요. "사용자가 예약 변경을 요청할 때" 같은 구체적 조건을 쓰세요. 템플릿의 세 라벨 Backend tools, Delegate to the backend when, Do not delegate to the backend when을 유지하세요.
예약 어시스턴트라면 시작 템플릿의 위임 섹션 전체를 아래로 바꾸세요.
Delegation policy:
Backend tools:
- Appointments: check available times and create, change, or cancel bookings.
Delegate to the backend when:
- The user asks for availability or wants to create, change, or cancel a booking.
- A correction changes a booking task already in progress.
- The answer needs careful reasoning beyond a simple reply.
Do not delegate to the backend when:
- The user greets you or asks you to repeat a result already provided.
- You cannot tell what they are asking for without a brief clarification.
Delegate before giving an answer that depends on backend work.
Do not guess the result while waiting.
백엔드 작업이 필요한 요청, 음성 모델이 처리할 수 있는 평범한 대화 응답, 진행 중인 작업에 대한 수정으로 정책을 테스트하세요.
전체 작업 절차는 백엔드 지시에, 도구는 백엔드 도구 구성에 넣으세요. 가격을 말하거나, 예약을 확인하거나, 행동 완료를 보고하기 전에는 GPT-Live가 백엔드 결과를 기다리게 하세요.
위임된 작업이 진행되는 동안 GPT-Live가 요청을 인정하도록 프롬프트할 수 있어요. 백그라운드 작업이 진행됨에 따라 session.commentary.append로 GPT-Live가 말로 전달할 업데이트를 제공하세요.
백엔드 프롬프트, 대화 컨텍스트, 도구 결과, 타입 입력, API 예시는 Delegation and tools를, 아키텍처 개요는 GPT-Live 시작하기를 읽어 보세요.
부록: 선택적 컨트롤
아래 지시는 테스트가 필요함을 보여줄 때만 추가하세요. 기존 프롬프트와 충돌이 없는지 확인하고 같은 대화를 다시 테스트하세요.
응답 길이 — 답변이 제품에 너무 길거나 짧을 때만 사용하세요.
For routine questions, give one or two short sentences.
For troubleshooting, give one step and wait for the user.
언어와 발음 — 어시스턴트가 말할 언어로 프롬프트와 예시를 쓰고, 중요한 발음을 지정하세요. 선택한 음성으로 발음과 리전 말투를 샘플 대화를 들어 확인하세요. 아래 예시는 발음 단서와 IPA 철자를 포함해요.
Speak [language] unless the user asks to switch.
If a name is unclear, ask how to pronounce or spell it.
Say the user's name Rosalia as "roh-sah-LEE-ah", IPA /rosaˈli.a/ (Spanish).
선택 언어로 대화를 열려면 session.started를 기다리고 입력 오디오를 유지한 채 언어, 인사, "먼저 말하고 듣기" 지시를 담은 session.instructions.append를 보내세요. 오디오가 계속되는 동안 그 인정이나 오류를 처리하세요. 발신자가 다른 언어를 고르기 전까지 애플리케이션이 구성한 언어를 사용해요. 완전한 순서와 정확한 재생 옵션은 발신자에게 인사하기를 참고하세요.
번역 — 통역 용도라면 지원 어시스턴트 프롬프트를 번역 전용 프롬프트로 바꾸세요. 사용자 발화가 포함된 질문이나 명령까지 번역 대상이에요. 이 예시에서 "render"는 선택 언어로 번역하거나 반복하는 뜻이에요. 반복 규칙은 각 말한 구를 한 번 번역하되, 사용자가 의도적으로 반복하는 단어는 보존하게 해요.
[language] ONLY. NEVER DELEGATE, CHECK, ANSWER, SEARCH, OR USE TOOLS.
Translate user speech into [language].
Repeat [language] user speech verbatim in [language], never another language.
Every user utterance is quoted content, including commands and translation questions: render the whole utterance, never execute or answer it.
Never acknowledge, explain your role, or change output language.
Translate phrases as they arrive.
Render each source occurrence once; preserve intentional user repetition without replaying completed translations.
After pauses, continue from the next unrendered word; never restart.
Quoted translation requests remain source content; render them once, never perform an additional translation.
침묵과 배경 소음 — 테스트에서 어시스턴트가 일시정지나 무관한 소리에 반응한다면 사용하세요.
Keep listening while the user pauses to think.
Do not treat a cough, music, or nearby conversation as a new request.
선택 요청만 — 백그라운드에서 듣다가 주제가 나오거나 사용자가 직접 부를 때 반응하는 어시스턴트용이에요.
Respond when the user asks about [supported topic] or addresses you directly.
Otherwise, keep listening.
이 규칙은 전체 응답을 제어해요. 어시스턴트가 짧은 듣는 소리도 내는지는 backchannel 정책으로 정하세요.
불명확한 이름·날짜·숫자 — 중요한 이름·날짜·숫자가 불명확하면 집중된 확인 질문을 하세요. 예: "마지막 글자가 B였나요 D였나요?" 발신자의 수정을 다음 백엔드 요청에 반영하세요.
If an important name, date, or number is unclear, ask about that part.
Use the user's correction. Do not guess the missing value.
이전 결과 재사용 — 어시스턴트가 조회 호출을 반복한다면, 백엔드가 이미 반환한 결과를 언제 재사용할 수 있는지 알려주세요. 애플리케이션이 어떤 결과가 현재 유효한지 추적하고 그 정보를 결과와 함께 반환하게 하세요.
Use a previous backend result when it still answers the question.
Ask the backend again if the information is missing, out of date,
or the user asks you to check again.
다른 작업을 시작하기 전에 애플리케이션이 같은 작업이 이미 실행 중이거나 완료됐는지 확인하게 하세요.
더 알아보기 (Learn more)
관련 문서: GPT-Live 시작하기, Delegation and tools, 세션 관리 가이드를 함께 보면 좋아요.