Claude의 사고 기능

Claude 모델 입문

Nikhil Rangarajan

Data Scientist

Claude의 사고 모드란?

  • thinking 매개변수로 활성화
  • 복잡한 문제에 대한 고급 추론
  • 단계적 논리 처리
  • 성찰과 의사결정
  • 투명한 사고 과정

Representation of a brain

Claude 모델 입문

언제 사고 기능을 사용할까?

$$

  • 다단계 문제 해결
  • 추론 체인이 필요한 분석
  • 상충요인이 있는 의사결정
  • 복잡한 논리 퍼즐

A puzzle

Claude 모델 입문

사고 작업의 유형

  • 분석적:
    • 복잡한 정보 분해
  • 전략적:
    • 기획 및 의사결정
  • 창의적:
    • 가능성과 해결책 탐색
  • 논리적:
    • 추론 체인 따르기

Icon of a person with a magnifying glass representing a complex task.jpg

Claude 모델 입문

예시: 전략 기획

user_prompt = "Think through this business decision:
Should we launch our new product in Q1 or Q2?"
response = client.messages.create(
    model="claude-2",
    messages=[{"role": "user", 
               "content": user_prompt}],
    thinking={"type": "enabled", 
              "budget_tokens": 1024},
    max_tokens=1300)
  • 구조화된 의사결정 요청
  • thinking 매개변수는 단계별 추론을 가능하게 함
  • budget_tokens 최소 1024, max_tokens는 예산을 초과해야 함
Claude 모델 입문

예시: 전략 기획

"""
Based on the above analysis, I recommend 
a phased global expansion strategy. 
Start by launching in one or two 
high-potential markets first (perhaps 
as pilot programs in Q1). Learn and 
adapt from those initial launches, then 
gradually expand to additional regions 
over the year once strategies are 
refined. This approach balances rapid 
growth with risk management, allowing 
adjustments for cultural fit and ...
"""
  • 두 부분으로 된 응답:

    • 사고 블록
    • 최종 답변
  • 최종 답변은 내부 사고 논리에 기반

Claude 모델 입문

연습해 볼까요?

Claude 모델 입문

Preparing Video For Download...