Skip to content

Commit

Permalink
REFACTOR:이미지생성 프롬프트 수정 (#108)
Browse files Browse the repository at this point in the history
* chore: 환경변수 세팅

* chore: aws secret manager 설정

* [chore] CI/CD settings (#13)

* chore: common 폴더 구조 변경

* chore: 환경변수 파일 분리 (local/dev)

* feat: 서버 profile 확인용 api 추가

* chore: 무중단 배포시 실행할 스크립트 작성

* chore: Github Actions 스크립트 작성 (임시 trigger 설정)

* chore: CI/CD trigger 재설정

* chore: 인덴트 오류 수정

* chore: CodeDeploy 옵션 문자열 오류 수정

* chore: Spring Security 및 Redis 임시 주석 처리

* chore: trigger 시점 develop 으로 변경

* chore: profile 조회 엔드포인트 수정

* style: CD 브랜치 trigger 시점 임시 변경

* fix: trigger 시점 develop 으로 원상 복귀

---------

Co-authored-by: Wang HoEun <[email protected]>

* feat/14-entity develop브랜치에 merge

* Feat/#14 entity (#15)

* 엔티티 첫 커밋

* diary엔티티에 멤버와의 관계추가

* feat : diary엔티티에 summary추가

* refactor: entity에 감정,조언 분리

* refactor:수정완료

* refactor: feeling클래스 감정추가

* feat: summary엔티티따로생성 후 member와 다대일양방향관계생성

* worried 스펠링수정

* feat: 카카오 로그인 구현+s3서버 세팅 (#31)

* feat: 카카오 로그인 구현+s3서버 세팅

* fix: build gradle 수정

---------

Co-authored-by: Wang HoEun <[email protected]>

* fix: build.gradle 파일 최신화

* Feat/#30 slowtype save api (#32)

* diary-content-api구현 및 테스트성공

* json필드  이름변경

* refactor:ApiResponse초기세팅 필드이름변경status

* api명세서 변경으로인한 초기세팅 변경

* succes type에서  오타로 인한 커밋

* feat: list-calender api구현 but 테스트는 아직

* api테스트완료 but 시간대 문제발생

* 애플리케이션 timezone을 utc로 설정하여 임시해결

* refactor /#24 json필드명 오류발견후수정

* index on feat/#26-list-calender: b531010 refactor /#24 json필드명 오류발견후수정

* feat-feelinglist 1차구현

* try catch구문 삭제 및 exceptionhandler수정, apiresponse수정

* entity 수정

* feat:apiresponse수정 및 s3설정파일 임시구현

* feat:S3연결제외 api구현

* refactor: imageurl추가에따른 컨텐트 api 살짝수정

* refactor: diarycontent반환값에 title추가

* refactor: s3연결전까지 코든짠것

* success type 추가

* refactor : successtype변경

* develop pull 마무리

* refactor : application.yml이랑 value값맞추기성공

* feat: api구현 및 테스트 완료

* refactor:content,advice길이수정

* fix: bootstarp 파일이 없는 오류 해결

* refactor: 카카오 인가코드 프론트측엫서 받아오는 방식으로 수정 (#36)

Co-authored-by: Wang HoEun <[email protected]>

* [refactor] kakao login 기존 프론트가 토큰 가져오는 방식으로 수정 (#38)

* refactor: 카카오 인가코드 프론트측엫서 받아오는 방식으로 수정

* fix: 다시 login 되돌려두기

---------

Co-authored-by: Wang HoEun <[email protected]>

* Refactor/#40 slow type diary retry (#41)

* 수정전 commit

* Principal객체사용한 memberId기반 api전체 수정

* refactor : slowtype api principal제외

* Refactor/#40 slow type diary retry (#44)

* 수정전 commit

* Principal객체사용한 memberId기반 api전체 수정

* refactor : slowtype api principal제외

* refactor:오류수정을 위한 임시파일경로생성

* Update DiaryController.java 오타해결

* refactor 충돌해결

* Refactor/#46 choose diary type api retry (#47)

* Develop (#45)

* chore: 환경변수 세팅

* chore: aws secret manager 설정

* [chore] CI/CD settings (#13)

* chore: common 폴더 구조 변경

* chore: 환경변수 파일 분리 (local/dev)

* feat: 서버 profile 확인용 api 추가

* chore: 무중단 배포시 실행할 스크립트 작성

* chore: Github Actions 스크립트 작성 (임시 trigger 설정)

* chore: CI/CD trigger 재설정

* chore: 인덴트 오류 수정

* chore: CodeDeploy 옵션 문자열 오류 수정

* chore: Spring Security 및 Redis 임시 주석 처리

* chore: trigger 시점 develop 으로 변경

* chore: profile 조회 엔드포인트 수정

* style: CD 브랜치 trigger 시점 임시 변경

* fix: trigger 시점 develop 으로 원상 복귀

---------

Co-authored-by: Wang HoEun <[email protected]>

* feat/14-entity develop브랜치에 merge

* Feat/#14 entity (#15)

* 엔티티 첫 커밋

* diary엔티티에 멤버와의 관계추가

* feat : diary엔티티에 summary추가

* refactor: entity에 감정,조언 분리

* refactor:수정완료

* refactor: feeling클래스 감정추가

* feat: summary엔티티따로생성 후 member와 다대일양방향관계생성

* worried 스펠링수정

* feat: 카카오 로그인 구현+s3서버 세팅 (#31)

* feat: 카카오 로그인 구현+s3서버 세팅

* fix: build gradle 수정

---------

Co-authored-by: Wang HoEun <[email protected]>

* fix: build.gradle 파일 최신화

* Feat/#30 slowtype save api (#32)

* diary-content-api구현 및 테스트성공

* json필드  이름변경

* refactor:ApiResponse초기세팅 필드이름변경status

* api명세서 변경으로인한 초기세팅 변경

* succes type에서  오타로 인한 커밋

* feat: list-calender api구현 but 테스트는 아직

* api테스트완료 but 시간대 문제발생

* 애플리케이션 timezone을 utc로 설정하여 임시해결

* refactor /#24 json필드명 오류발견후수정

* index on feat/#26-list-calender: b531010 refactor /#24 json필드명 오류발견후수정

* feat-feelinglist 1차구현

* try catch구문 삭제 및 exceptionhandler수정, apiresponse수정

* entity 수정

* feat:apiresponse수정 및 s3설정파일 임시구현

* feat:S3연결제외 api구현

* refactor: imageurl추가에따른 컨텐트 api 살짝수정

* refactor: diarycontent반환값에 title추가

* refactor: s3연결전까지 코든짠것

* success type 추가

* refactor : successtype변경

* develop pull 마무리

* refactor : application.yml이랑 value값맞추기성공

* feat: api구현 및 테스트 완료

* refactor:content,advice길이수정

* fix: bootstarp 파일이 없는 오류 해결

* refactor: 카카오 인가코드 프론트측엫서 받아오는 방식으로 수정 (#36)

Co-authored-by: Wang HoEun <[email protected]>

* [refactor] kakao login 기존 프론트가 토큰 가져오는 방식으로 수정 (#38)

* refactor: 카카오 인가코드 프론트측엫서 받아오는 방식으로 수정

* fix: 다시 login 되돌려두기

---------

Co-authored-by: Wang HoEun <[email protected]>

* Refactor/#40 slow type diary retry (#41)

* 수정전 commit

* Principal객체사용한 memberId기반 api전체 수정

* refactor : slowtype api principal제외

* Refactor/#40 slow type diary retry (#44)

* 수정전 commit

* Principal객체사용한 memberId기반 api전체 수정

* refactor : slowtype api principal제외

* refactor:오류수정을 위한 임시파일경로생성

* Update DiaryController.java 오타해결

* refactor 충돌해결

---------

Co-authored-by: Wang HoEun <[email protected]>
Co-authored-by: Wang Hoeun <[email protected]>

* requestHeader를 사용한 코드수정 및 diarytyperequestDto추가

---------

Co-authored-by: Wang HoEun <[email protected]>
Co-authored-by: Wang Hoeun <[email protected]>

* feeling별 diary list조회 api수정 (#50)

* refactor:content api코드수정및 responseDto 수정 (#53)

* Refactor/#55 list calendar api retry (#56)

* refactor: calendar api코드수정 및 diary생성시 writedAt필드 설정코드추가

* refactor:writedAt필드 현재시간값가져오기로 수정

* calendarapi수정

* refactor:content api에서 advice와 feeling값 null값허용 (#59)

* Refactor/#58 diary content api exception retry (#61)

* refactor:content api에서 advice와 feeling값 null값허용

* diary엔티티 content칼럼 Longtext로수정및 slowtype api 이미지파일없어도가능하게

* FeelingListResponseDto의 imageUrl필드추가 (#64)

* CalendarDiaryResponseDto의 ImageUrl필드추가 (#67)

* feeling list,slowtype생성 request오류 추가

* refactor:ZonedDatetime추가 (#70)

* refactor: imageFile 안줘도 가능하게 코드수정 (#73)

* feat: 수정 api구현 (#76)

* refactor: logging추가 (#80)

* refactor-requestpart대신 modelattribute (#83)

* refactor:s3파일중복체크후 업로드하는 로직 추가 (#86)

* feat: 일기삭제api구현 및 에러타입추가,slowtypeapi요청값대문자로수정 (#88)

* refactor:imageurl LONGTEXT로변경

* refactor:slowtyperesponseDto에 createdDate필드추가 (#92)

* refactor:이미지생성api구현 및 중복코드제거 (#95)

* feag:카카오톡공유하기api구현 (#98)

* refacotr:requestpart로 변경 (#101)

* refactor:createdDate추가 (#104)

* refactor:프롬프트수정 (#107)

---------

Co-authored-by: Wang HoEun <[email protected]>
Co-authored-by: Wang Hoeun <[email protected]>
  • Loading branch information
3 people authored May 29, 2024
1 parent 8d89820 commit 83af844
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,7 @@ private String formatPromptForImageGeneration(String diaryContent) {
요약 : 친구들과 함께 제주도의 한라산을 등반했다. 한라산 정상에서의 풍경은 인상적이었고, 함께한 친구들과의 우정도 더 깊어졌다.
}
다음 요약된 내용을 바탕으로 다음과 같은 이미지를 생성해주세요.
이미지는 평면적인 2D 일러스트 스타일로, 유저의 감정을 반영하여 다음과 같은 색상을 주로 사용해주세요.
- 행복한 감정: 밝은 노란색과 분홍색
- 슬픈 감정: 파란색 계열
- 안정된 감정: 녹색 계열
- 걱정되는 감정: 보라색
- 놀란 감정: 오렌지색
- 화난 감정: 분홍색
이미지는 평면적인 2D 일러스트 스타일로 해주세요.
캐릭터는 꿀벌 옷을 입고있는 곰을 모티브로 한 일러스트로, 사용자의 diary 내용에 맞는 포즈와 표정을 취하도록 해주세요.
다양한 요소들을 추가하기보단 불필요한 것들을 빼고 단조로운 스타일로 생성해주세요
""", diaryContent);
Expand Down

0 comments on commit 83af844

Please sign in to comment.