Skip to content

[FEAT] 기본 임베딩 모델 등록 및 조회 #10

Description

@Gimini-3

📌 Description

문서 업로드와 embedding_jobs 생성 시 사용할 기본 임베딩 모델 정보를 DB에 등록하고 조회합니다.

이번 이슈에서는 실제 임베딩 모델 실행이 아닌 모델 메타데이터 관리와 조회 API만 구현합니다.

브랜치명: feat/embedding-model-basic

✅ To-do

  • EmbeddingModel 엔티티 및 Enum 구현
  • EmbeddingModelRepository 구현
  • active·searchable 모델 조회 로직 구현
  • GET /api/embedding-models/active API 구현
  • EmbeddingModelResponse DTO 구현
  • local 환경 Mock 모델 Seed 데이터 등록
  • active 모델이 없거나 여러 개인 경우 예외 처리
  • Repository 및 Service 테스트 작성

📒 기타

Mock 모델 설정은 다음과 같이 등록합니다.

provider: MOCK
modelName: mock-bge-m3
modelVersion: v1
dimension: 1024
distanceMetric: COSINE
active: true
searchable: true

내부 서비스에서는 EmbeddingModel Entity를 반환하고, 외부 API에서는 Response DTO를 반환합니다.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions