Skip to content

[feat] GPT 파싱 후 레시피 저장 시 재료·단계 저장 로직 및 addIngredient/addStep 헬퍼 메서드 추가#93

Merged
iamseojin merged 3 commits intoruntiime:developfrom
iamseojin:gpt-service-develop
May 25, 2025
Merged

[feat] GPT 파싱 후 레시피 저장 시 재료·단계 저장 로직 및 addIngredient/addStep 헬퍼 메서드 추가#93
iamseojin merged 3 commits intoruntiime:developfrom
iamseojin:gpt-service-develop

Conversation

@iamseojin
Copy link
Copy Markdown
Contributor

이슈

구현 기능

  • RecipeService
    • GPT 파싱 결과를 기반으로 Recipe 엔티티에 재료(ingredients) 및 단계(recipeSteps) 저장 로직 추가
    • addIngredient(Ingredient) / addStep(RecipeStep) 헬퍼 메서드 도입으로 양방향 연관관계 편의성 개선
  • GptService
    • steps 내부 JSON "ingredients" 필드 파싱 기능 구현
    • RecipeParseResultDtoRecipeStepDetailDto 빌더 로직 보완
  • OcrClient & RecipeController
    • WebClient multipart 전송 시 BodyInserters.fromMultipartData(...) 적용
    • /api/recipes/ocr/create 엔드포인트에 consumes: MULTIPART_FORM_DATA 설정 추가

작업 시간

@iamseojin iamseojin merged commit a6ecfd4 into runtiime:develop May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant