[오혜영] LLM 날씨 조회 제출합니다 #12
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
주어진 도시 이름을 입력받아 외부 REST API를 호출해 해당 도시의 날씨 정보를 조회하고, 이를 정리해 반환하는 간단한 웹 서비스를 스프링 프레임워크로 구현한다.
조회한 날씨 데이터를 입력으로 LLM API를 호출해 요약을 생성하고 반환한다.
설정에 따라 요약을 새로 생성하지 않고, 기존 요약을 재사용할 수 있다.
도시는 물론, 권역 단위로도 날씨를 조회할 수 있다.
e.g. 서울 전체, 수도권, 특정 구/동 등
날씨 또는 기온을 기준으로 복장을 추천한다.
e.g. 기온 구간, 강수 여부, 체감온도, 바람 등을 기준으로 추천 규칙을 적용한다.
각 요청에 대해 사용량과 비용 추정치를 로그로 남긴다.
예: 입력 토큰, 출력 토큰, 총 토큰, 모델명, 캐시 사용 여부, 추정 비용