폴더 구조 설명 추가

This commit is contained in:
mskim 2025-12-10 10:00:25 +09:00
parent 40c0e23b40
commit 44f650d907
1 changed files with 32 additions and 0 deletions

View File

@ -30,6 +30,38 @@ AI ↔ Spring Boot(Memory Manager)
└── PostgreSQL (정제된 장기기억 영구 저장)
```
### 폴더구조
```
/src
└── main
├── java
│ └── com.pandol365.dewey
│ ├── api <-- 외부로 노출되는 REST API 계층
│ │ ├── controller <-- 요청을 받아 Service 호출하는 (Endpoint)
│ │ ├── request <-- Controller에서 사용하는 요청 DTO
│ │ └── response <-- 응답 DTO (API Response 전용)
│ │
│ ├── config <-- Spring 설정, Bean 등록, CORS, Filter, ModelConfig
│ │
│ ├── domain <-- 핵심 비즈니스 도메인 계층
│ │ ├── memory <-- Memory Store 엔티티, MemoryService
│ │ └── embedding <-- 로컬 임베딩 모델 로딩 처리 로직
│ │ (ONNX 모델 실행, 텍스트→벡터 변환)
│ │
│ ├── vector <-- 벡터 저장·검색 기능 (FAISS, HNSW, Lucene )
│ │ Embedding 결과를 인덱싱, 탐색하는 모듈
│ │
│ ├── exception <-- 글로벌 예외 처리, 커스텀 예외 클래스
│ │
│ └── DeweyApplication.java <-- Spring Boot 메인 실행 파일
└── resources
├── application.yml <-- Spring 설정 파일
├── model/ <-- 로컬 ONNX 임베딩 모델 저장 위치
└── other configs... <-- (logback.xml )
```
---
# ⭐ 시스템 구성 요소