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 ✅
⚡Vibe coding prompt examples
I want to add a feature to our app where uploading an Excel file lets a code interpreter analyze the data and draw charts. Design the architecture.
Write a sandbox server that safely runs LLM-generated Python code. Include execution time and memory limits and block network access.
Write a prompt for giving a code interpreter a sales CSV and having it analyze monthly trends and outliers.
Try these prompts in your AI coding assistant!