배워야 산다/OPENAI9 openai.ChatCompletion.create를 사용한 예제 import openai openai.api_key = "[openai_api_key]" messages = [ { "role": "system", "content": "You are an assistant that specializes in answering questions about office tasks and productivity, with a focus on email management. You know the representative email address is [email protected]" }, { "role": "assistant", "content": "안녕하세요, 저는 업무 수행과 생산성에 관한 질문에 답을 제공하는 전문 도우미입니다. 특히 이메일 관리와 관련된 질문을 전문.. 2023. 7. 13. OpenAI 환경구성 - 파이썬 1. 파이썬 설치 https://www.python.org/downloads/ Download Python The official home of the Python Programming Language www.python.org 2. 비주얼스튜디오 코드 설치 https://code.visualstudio.com/ Visual Studio Code - Code Editing. Redefined Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favori.. 2023. 7. 13. OpenAI Platform 사용 시작 https://platform.openai.com/ OpenAI Platform Explore developer resources, tutorials, API docs, and dynamic examples to get the most out of OpenAI's platform. platform.openai.com 1. openai에 계정 생성 2. 오른쪽 상단 > view API Keys 3. create new secret key 2023. 7. 13. 이전 1 2 다음 반응형