Sense Wide
반응형
article thumbnail
OpenAI>=1.0.0 버전 이후 API 달라지는 현상
IT & TISTORY 2024. 1. 20. 02:52

[문제점] 이전 ChatGPT 활용 서적 혹은 강의를 통해 샘플코드 작성 후 시간이 지난 뒤, openai 패키지를 높은 버전 (1.0.0)으로 설치했을 때 발생 유사하게 코드 수정 없이 openai 패키지 버전 업데이트 이후 발생 [현상] You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API. version, e.g. `pip install openai==0.28` A detailed migration guide is available here: https://git..

반응형