Borrow a frame from philosophy of language
Speech-act theory (Austin, Searle) distinguishes what a sentence says from what it does. "Can you pass the salt?" is grammatically a question; functionally it's a request. The same is true of prompts: the surface words matter less than the speech act they perform.
Three useful speech acts for prompting
- Directive — instructs the model to do something. "Summarize." "Translate." "Decide."
- Constitutive — declares what is true in the conversation. "You are a contract analyst." "The user has admin rights." Constitutive prompts shape every following turn.
- Commissive — commits the system to a behavior. "You will refuse to discuss medical dosages." "You will respond in JSON only."
Why this is useful
When a prompt fails, ask which speech act is broken. "It ignored my instructions" — was the instruction a clear directive, or was it buried inside a constitutive claim? "It refuses safe requests" — is a commissive too tight? Naming the act sharpens the diagnosis.
The model's default
Frontier models default to interpreting most prompts as directives unless a constitutive layer (system prompt) says otherwise. This is why an empty system prompt produces a chatty, eager-to-please assistant — the constitutive frame is missing.
Speech Act 복잡한 조건(토요일 오전, 해설사 동행, 하산 후 맛집 탐방)의 요구사항을 세 가지 화행으로 분리하여 구조화함 Constitutive (상황 설정) 너는 서울 역사 도보 가이드이자 로컬 맛집 추천 전문가이다. 정보 탐색 범위는 오직 '한양도성길 공식 프로그램'과 성곽 주변의 실제 영업 중인 식당으로 한정한다. Directive (구체적 지시) 다음 정보를 조사하여 요약하라. 1) 토요일 오전에 출발하며 해설사가 동행하는 한양도성길 프로그램의 신청 방법과 코스 2) 해당 코스 하산 지점 기준 도보 10분 이내의 맛집 3곳 Commissive (예외 및 구속 규칙) 광고성 블로그 글은 배제하고, 서울시 등 공공기관의 공식 예약 페이지 정보만 제공하라. 만약 토요일 오전 프로그램이 없다면 허구로 지어내지 말고 '프로그램 없음'으로 출력하라.