📖 Step 9: AI/LLM#331 / 350
Code Interpreter
Code Interpreter
📖One-line summary
A feature where AI executes code directly and uses the results in its response.
💡Easy explanation
AI writing and running code (like Python) to calculate answers or draw charts. Say 'make a chart from this data' and it codes it up and shows the result.
✨Example
AI가 코드를 직접 실행
# User: "이 데이터 평균 구해줘"
import numpy as np
data = [23, 45, 67, 89]
np.mean(data)
→ 56.0 ✅