-
Notifications
You must be signed in to change notification settings - Fork 0
Description
이슈 배경
- 사용자가 AI와의 대화를 처음 시작할 때, 대화 내용을 저장하고 관리할 채팅방(
Chat)을 생성 - 첫 메시지 전송 전 호출되어 채팅방을 생성 및 생성된
chat_id를 반환- 이후 WebSocket 연결 및 메시지 전송에 사용될 수 있도록 함
이슈 내용
1. API 명세
- Endpoint:
POST /v1/chats - Description: 새로운 채팅방을 생성하고 생성된 ID를 반환함.
Request Body
{
"firstChat": "채팅 시작에 사용되는 최초 대화"
}Response Body
{
"status": "SUCCESS",
"message": "채팅방 생성 완료",
"data": {
"id": 1
"title" : "임시 채팅방 제목"
"firstChat": "채팅 시작에 사용되는 최초 대화"
}
}2. 개발 범위
ChatController: 채팅방 생성 요청 핸들링ChatService/ChatCommandService: 채팅방 생성 비즈니스 로직 구현ChatRepository: DB 저장 (save)
참고 자료
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels