Skip to content

Commit 7999808

Browse files
committed
hotfix : 축제 예시 값 추가
1 parent 20d9931 commit 7999808

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

greatjourney/src/main/java/backend/greatjourney/domain/festival/controller/FestivalController.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import backend.greatjourney.domain.festival.service.FestivalService;
1212
import backend.greatjourney.global.exception.BaseResponse;
1313
import io.swagger.v3.oas.annotations.Operation;
14+
import io.swagger.v3.oas.annotations.Parameter;
1415
import lombok.RequiredArgsConstructor;
1516

1617
@RestController
@@ -39,7 +40,10 @@ public class FestivalController {
3940
+ " 전북특별자치도"
4041
+ " 전라남도"
4142
+ " 제주특별자치도\n" +"로 값들을 넣어주면 됨 + 날짜")
42-
public BaseResponse<List<FestivalResponse>> getFestivals(@RequestParam String areaName, @RequestParam String startDate){
43+
public BaseResponse<List<FestivalResponse>> getFestivals(@RequestParam String areaName,
44+
@Parameter(description = "축제 시작 날짜 (yyyyMMdd 형식)", example = "20250402")
45+
@RequestParam String startDate){
46+
4347
return BaseResponse.<List<FestivalResponse>>builder()
4448
.code(200)
4549
.isSuccess(true)

greatjourney/src/main/java/backend/greatjourney/global/gpt/dto/GptRankResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ public record TopItem(
1414
Reasons reasons,
1515
WeightedBreakdown weighted,
1616
String image_url, // 대표 이미지 URL
17-
String ai_summary // ✅ AI 한 줄 추천 요약
17+
String ai_summary, // ✅ AI 한 줄 추천 요약
18+
String country
1819
) {}
1920

2021
// 평가 기준(5개)

greatjourney/src/main/java/backend/greatjourney/global/gpt/service/GptService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ private GptRankResponse computeStructured(double temperature) {
245245
아래 13개 국토대장정 코스의 '현재 시기' 특성과 일반적 코스 특성을 바탕으로,
246246
평가 기준 5개(weather, festival, activity, food, difficulty)에 대한 '가중치'를 스스로 정하고(합=1),
247247
그 가중치로 상위 3곳을 선정하세요.
248-
응답에는 각 코스의 image_url(공개 https)과 ai_summary(25자 내외 한국어 한 문장)도 포함하세요.
248+
응답에는 각 코스의 image_url(공개 https)과 ai_summary(25자 내외 한국어 한 문장), country(지역)도 포함하세요.
249249
250250
후보 목록:
251251
- 아라길

0 commit comments

Comments
 (0)