Part2-2. openai api key 사용 오류
2025.03.04 21:40 수정
OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
이런 에러가 뜨는데, openai API의 무슨 설정을 어떻게 바꾸어야 코드가 제대로 실행될까요?
OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
이런 에러가 뜨는데, openai API의 무슨 설정을 어떻게 바꾸어야 코드가 제대로 실행될까요?