openai1 openai api key 이용방법 안녕하세요 pulluper 입니다. import openai openai.api_key = "API KEY" response = openai.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."}, .. 2024. 5. 15. 이전 1 다음