Skip to content

Commit

Permalink
fix: prompt 값 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
koosco committed Dec 7, 2024
1 parent 97ed5ea commit 1479eee
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,13 @@ public RecommendQuestListResponseDto recommendQuest(Long memberId, MemberGoal me
convertListToString(myVector.quests()),
"questList",
convertListToString(
othersVector.stream().flatMap(vector -> vector.goals().stream()).toList()),
othersVector.stream()
.filter(Objects::nonNull)
.flatMap(
vector ->
vector.goals() != null ? vector.goals().stream() : Stream.empty())
.filter(Objects::nonNull)
.toList()),
"format",
format));
log.info(response);
Expand Down

0 comments on commit 1479eee

Please sign in to comment.