Skip to content

Feature #31 : 배포 전 기능 테스트 및 QA 작업#45

Merged
andrewkimswe merged 1 commit intodevelopfrom
feat/#30
Feb 2, 2025
Merged

Feature #31 : 배포 전 기능 테스트 및 QA 작업#45
andrewkimswe merged 1 commit intodevelopfrom
feat/#30

Conversation

@andrewkimswe
Copy link
Member

@andrewkimswe andrewkimswe commented Feb 2, 2025

📌 Summary


Description

  • 상품 검색 서비스 연결 완료:
    ProductService 클래스는 이제 여러 키워드를 받아 DB에서 관련 상품을 검색하는 기능을 완성했습니다. searchByKeywords 메소드가 주어진 키워드 리스트에 맞는 상품을 반환하며, saveItems 메소드는 상품 정보를 DB에 저장하는 기능을 제공합니다. 기존 상품 ID가 존재하는 경우 중복 저장을 방지하는 로직이 추가되어 상품 데이터의 정확성을 높였습니다.

  • GPT API 연동 및 선물 추천 시스템 완성:
    GptController 클래스에서 GPT API와의 연동이 완료되어, 카카오톡 대화 파일을 기반으로 선물 추천 시스템을 완성했습니다. 사용자가 업로드한 카카오톡 대화 내용을 분석하여 성별, 관계, 테마와 같은 정보를 바탕으로 적합한 선물 카테고리를 추천합니다. 추천된 카테고리는 DB에서 해당하는 상품들을 검색하는 데 사용되며, 최종적으로 프론트엔드에 전달됩니다.

  • 카카오톡 대화 파일 전처리 및 카테고리 추출 완료:
    카카오톡 대화 파일을 전처리하고, 그 내용을 GPT API를 통해 분석하여 적합한 카테고리를 추출하는 로직이 완성되었습니다. 파일에서 불필요한 문자와 시간 정보를 제거하고, 성별, 관계, 테마에 맞는 키워드를 추출하여 선물 추천에 적합한 데이터를 생성합니다.

  • OpenAI API 연동 설정 완료:
    GptConfig 클래스에서는 OpenAI API와의 연동이 설정되었습니다. RestTemplate을 활용하여 API 요청을 보내며, 요청 시 Authorization 헤더를 통해 인증이 이루어집니다. 또한, API URL 및 모델은 application.yml 파일에서 동적으로 가져오며, 이를 통해 GPT API와의 연결을 효율적으로 처리합니다.


🗒️ Review Point

혹시 궁금한 부분이나 수정이 필요한 사항이 있다면 알려주세요!

@andrewkimswe andrewkimswe merged commit 8eb213c into develop Feb 2, 2025
1 check passed
@andrewkimswe andrewkimswe deleted the feat/#30 branch February 2, 2025 09:45
@andrewkimswe andrewkimswe requested a review from yeoeunn February 3, 2025 07:18
@andrewkimswe andrewkimswe self-assigned this Feb 3, 2025
@andrewkimswe andrewkimswe added ✨ feature 기능 개발 📡 API API 관련 코드 작성 labels Feb 3, 2025
@andrewkimswe andrewkimswe added this to the 📦 Backend Development milestone Feb 3, 2025
@andrewkimswe andrewkimswe linked an issue Feb 3, 2025 that may be closed by this pull request
3 tasks
@andrewkimswe andrewkimswe changed the title feat #30 : 서버 개발 완료 feat #31 : 배포 전 기능 테스트 및 QA 작업 Feb 3, 2025
@andrewkimswe andrewkimswe changed the title feat #31 : 배포 전 기능 테스트 및 QA 작업 Feature #31 : 배포 전 기능 테스트 및 QA 작업 Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📡 API API 관련 코드 작성 ✨ feature 기능 개발

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

feat : 배포 전 기능 테스트 및 QA 작업

1 participant