Claude 모델 입문
Nikhil Rangarajan
Data Scientist
thinking 매개변수로 활성화
$$

![]()
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는 예산을 초과해야 함"""
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 모델 입문