Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📄 PR 내용 요약
✅ 작업 내용 상세
OpenAI API 연동
/api/chat라우트에서 OpenAI API를 호출하도록 구현했습니다.system프롬프트를 통해 와인 관련 대화만 응답하고, 이미지 요청은 거절하도록 설정했습니다.챗봇 UI 구현
@chatscope/chat-ui-kit-react,@chatscope/chat-ui-kit-styleshandleSend로 관리했습니다.스타일 및 레이아웃
chat-style.css)를 생성하고!important로 오버라이드했습니다.resize추가했습니다.📸 스크린샷 (선택사항)
💬 참고 사항
npm i필요합니다.env에 OpenAI API Key 설정은 별도 공유 드리겠습니다.