Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
pjm2571 committed Jan 23, 2025
1 parent 04cc015 commit 5ad66c9
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,14 @@ public StatisticViewDto getStatistics() {
}

private String getAnalysisResult(TilAlgorithmDto tilAlgorithmDto) {
// ChatGPT ai 분석 리퀘스트 생성
ChatGPTRequest analysisRequest = ChatGPTRequest.createAIAnaliztionTestPrompt(tilAlgorithmDto, model);

// ChatGPT ai 분석
ChatGPTResponse analysisResponse = template.postForObject(apiURL, analysisRequest, ChatGPTResponse.class);

return analysisResponse.getMessage();
// // ChatGPT ai 분석 리퀘스트 생성
// ChatGPTRequest analysisRequest = ChatGPTRequest.createAIAnaliztionTestPrompt(tilAlgorithmDto, model);
//
// // ChatGPT ai 분석
// ChatGPTResponse analysisResponse = template.postForObject(apiURL, analysisRequest, ChatGPTResponse.class);

// return analysisResponse.getMessage();
return "현재 DFS 알고리즘 분야의 학습이 부족합니다. 백준의 순열 사이클을 추천드립니다. 링크 : https://www.acmicpc.net/problem/10451";
}

private AIRecommendDto getRecommendResult(TilAlgorithmDto tilAlgorithmDto) {
Expand Down

0 comments on commit 5ad66c9

Please sign in to comment.