-
Notifications
You must be signed in to change notification settings - Fork 5
Feat[Ai] AI 챗봇 구현 #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
yongho9064
merged 20 commits into
prgrms-web-devcourse-final-project:develop
from
yongho9064:feat/ai
Sep 28, 2025
Merged
Feat[Ai] AI 챗봇 구현 #106
yongho9064
merged 20 commits into
prgrms-web-devcourse-final-project:develop
from
yongho9064:feat/ai
Sep 28, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nt, TokenTextSplitter)
Nohheechul
approved these changes
Sep 26, 2025
a919a27
into
prgrms-web-devcourse-final-project:develop
4 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 제목
✅ 작업 내용
Spring AI 의존성 추가 및 OpenAI, Qdrant 연동 설정
ChatMemoryRepository, OpenAI ChatClient, TokenTextSplitter Bean 등록
회원 채팅 기록 조회 기능(ChatService) 구현
ChatMemory 엔티티 및 복합키 정의
ChatBotService 구현: AI 메시지 처리, 벡터 검색, 채팅 기억, 키워드/제목 추출 기능 포함
글로벌 예외 처리(GlobalExceptionHandler) 추가
채팅방 조회/삭제 기능(HistoryService) 구현
상위 키워드 조회 기능(KeywordService) 구현
벡터 스토어 Qdrant 카운트 검사 및 데이터 로드(LawLoader, QdrantService) 기능 추가
SpringDocConfig에 챗봇 관련 API 문서화 추가
AI 시스템 메시지 및 제목/키워드 추출 프롬프트 설정(custom.yml) 추가
Qdrant Docker Compose 설정 추가
Spring 설정 yml 업데이트
SPRING_AI_CHAT_MEMORY 테이블 생성 (MySQL)
CI/CD Qdrant 파이프라인 추가
📝 참고 사항
법과 관련 없는 질문은 AI가 답변하지 않도록 시스템 메시지에서 처리
Qdrant 벡터 데이터 로드는 과금 이슈로 실제 호출은 주석 처리 상태
docker Mysql 볼륨 삭제 후 다시 컴포즈!
Qdrant 도커로 설치! -> 도커 컴포즈에 추가 했습니다.