/completions와 /chat/completions의 차이가 뭐야?
- User
/completions와 /chat/completions의 차이가 뭐야?
Assistant
OpenAI API의
/completions와/chat/completions엔드포인트의 주요 차이점은 다음과 같습니다:/completions(기존 모델):
- 텍스트 완성 모델 (GPT-3 등)
- 단순 텍스트 기반 응답
- 프롬프트에 대해 연속된 텍스트 생성
- 대화 맥락 유지 어려움
/chat/completions(최신 모델):
- 대화형 AI 모델 (GPT-3.5, GPT-4)
- 메시지 기반 상호작용
- 대화 히스토리 쉽게 관리
- 시스템, 사용자, 어시스턴트 메시지 구분
- 더 복잡하고 맥락 있는 대화 가능
- 구조화된 대화 처리에 적합
주로 최근에는
/chat/completions를 권장합니다.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.