@@ -176,16 +176,16 @@ public CompletableFuture<String> analysisWeakness(String weakness, String experi
176176 // 3가지 약점 분석 -> 3가지 약점에 맞춘 맞춤형 활동 추천하기
177177 public List <String > getRecommendActivities (String weakness ) {
178178
179- String cacheKey = "keywords:" + weakness ;
180- String cached = redisTemplate .opsForValue ().get (cacheKey );
181-
182- // Redis Cache 조회
183- if (cached != null && !cached .isBlank ()) {
184- return Arrays .stream (cached .split ("," ))
185- .map (String ::trim )
186- .filter (str -> !str .isEmpty ())
187- .toList ();
188- }
179+ // String cacheKey = "keywords:" + weakness;
180+ // String cached = redisTemplate.opsForValue().get(cacheKey);
181+ //
182+ // // Redis Cache 조회
183+ // if (cached != null && !cached.isBlank()) {
184+ // return Arrays.stream(cached.split(","))
185+ // .map(String::trim)
186+ // .filter(str -> !str.isEmpty())
187+ // .toList();
188+ // }
189189
190190 String systemString = String .join (" " ,
191191 "너는 입력된 키워드를 기반으로 의미적으로 관련된 직무, 기술, 산업, 직군 키워드를 추천해주는 전문가다." ,
@@ -205,7 +205,7 @@ public List<String> getRecommendActivities(String weakness) {
205205 String result = response .getResult ().getOutput ().getText ();
206206 log .info ("result : {}" , result );
207207
208- redisTemplate .opsForValue ().set (cacheKey , result , 86400 , TimeUnit .SECONDS );
208+ // redisTemplate.opsForValue().set(cacheKey, result, 86400, TimeUnit.SECONDS);
209209
210210 return Arrays .stream (result .split ("," ))
211211 .map (String ::trim )
0 commit comments