<aside> 🤖 본 자료는 모두의AI 무료 특강 자료입니다. 비상업적으로 강의, 교육, 공유의 목적으로 사용이 가능합니다. 단, 모두의AI 허락이 없이 무단 상업적 이용을 절대 불가함을 알려드립니다.
</aside>
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
model="gpt-3.5-turbo",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Who won the world series in 2020?"},
{"role": "assistant", "content": "The Los Angeles Dodgers won the World Series in 2020."},
{"role": "user", "content": "Where was it played?"}
]
)
Prompt engineering overview - Anthropic
아이언맨 Co-work w/ JARVIS
https://youtu.be/dEomKx69yls?t=69