-
Notifications
You must be signed in to change notification settings - Fork 1
[REFACTOR/#116] 제미나이 호출 설정 조정 및 적금 추천 개수 조정 #118
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
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
dba7126
refactor: 제미나이 호출 설정 조정 및 적금 추천 개수 조정
b843ad3
refactor: 사용하지 않는 메서드 정리
29e5bba
refactor: 변경된 로직에 맞게 메서드명 수정
eeae709
refactor: 제미나이 호출 설정 변경 및 불필요한 import문 제거
4ac2937
refactor: MbtiTraits enum 기반으로 추천 프롬프트 경량화
4ac0cd4
refactor: Gemini 2.5-flash 전환 및 추천 중복 이슈 수정
seamooll 6d8aec0
docs: 추천 문서 수정
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
src/main/java/org/umc/valuedi/domain/mbti/enums/MbtiTraits.java
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| package org.umc.valuedi.domain.mbti.enums; | ||
|
|
||
| import lombok.Getter; | ||
| import lombok.RequiredArgsConstructor; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| @Getter | ||
| @RequiredArgsConstructor | ||
| public enum MbtiTraits { | ||
|
|
||
| APGV(List.of("기본계획", "감정개입", "즉흥허용", "도전성", "규칙완화", "후회가능", "허용범위설정", "숙려권장")), | ||
| APGR(List.of("리스크인지", "계산형도전", "구조중시", "장단기분리", "균형추구", "현실판단", "결정피로주의", "기준기반선호")), | ||
| APCV(List.of("안정선호", "예측가능선호", "보수적", "단순구조선호", "변화회피", "결정미룸", "소액확장권장", "실행체크리스트")), | ||
| APCR(List.of("목표지향", "원칙준수", "절제소비", "장기지속", "계획으로불안관리", "성과시각화선호", "규칙강함", "유연성확보")), | ||
| AIGV(List.of("감정우선", "충동성", "즉시행동", "손실회피", "확인회피", "고위험주의", "한도설정필수", "대기규칙권장")), | ||
| AIGR(List.of("불안존재", "준비후도전", "기준설정", "정보비교", "변동감수", "분산선호", "자동화선호", "자금분리")), | ||
| AICV(List.of("타인영향", "불안높음", "결정부담", "유행민감", "확신짧음", "기준필요", "자동저축선호", "패턴기록권장")), | ||
| AICR(List.of("목표분명", "불안동반", "조심스러움", "실행지연", "점검빈번", "목표형선호", "단계저축선호", "시각화선호")), | ||
| SPGV(List.of("중립감정", "계획존재", "깊은고민회피", "충분하면실행", "사후관리약함", "방치위험", "중간점검필요", "알림장치유리")), | ||
| SPGR(List.of("전략중심", "장기목표", "계산형", "기준명확", "구조화강점", "공격가능", "결정피로주의", "자동화로부담감소")), | ||
| SPCV(List.of("안정최우선", "보수적", "확신없으면미룸", "현상유지", "단계적확장필요", "자극회피", "정기점검필요", "단순상품선호")), | ||
| SPCR(List.of("계획중심", "기준중요", "즉흥적음", "장기안정", "지속력", "여유부족주의", "도전부족가능", "상향목표제안유리")), | ||
| SIGV(List.of("기회민감", "빠른결단", "속도강점", "불안동반", "손실시자책", "브레이크필요", "한도설정", "리스크기준정리")), | ||
| SIGR(List.of("도전성", "구조분석", "흐름중시", "정보비교", "복잡감당", "판단지연피로", "전략정리필요", "단순화선호")), | ||
| SICV(List.of("관심낮음", "관리귀찮음", "안전지향", "결정미룸", "기회놓침가능", "자동이체필수", "기본값선호", "단순상품선호")), | ||
| SICR(List.of("안정지향", "목표지향", "합리적", "장기계획", "침착함", "예측가능선호", "정체주의", "정기점검필요")); | ||
|
|
||
| private final List<String> traits; | ||
|
|
||
| public static List<String> of(MbtiType type) { | ||
| return MbtiTraits.valueOf(type.name()).getTraits(); | ||
| } | ||
| } |
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.