Skip to content

Commit

Permalink
feat: edit prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
sspzoa committed Oct 3, 2024
1 parent 2a3f203 commit a254197
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/routes/food/ingredient_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def ingredient_detect(image: UploadFile = File(...)):
"ingredients": []
}}
주의: 반드시 유효한 JSON 형식으로 응답해주세요.
주의: 반드시 다른 텍스트 없이 유효한 JSON 형식으로만 응답해주세요.
"""

# OpenAI API 호출
Expand Down
2 changes: 1 addition & 1 deletion app/routes/recipe/cooking_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def get_cooking_step_info(request: CookingStepRequest):
단계 번호: {request.step_number}
레시피: {recipe}
주의: 반드시 유효한 JSON 형식으로 응답해주세요.
주의: 반드시 다른 텍스트 없이 유효한 JSON 형식으로만 응답해주세요.
"""

# 조리 과정 정보 생성
Expand Down
2 changes: 1 addition & 1 deletion app/routes/recipe/ingredient.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def get_ingredient_info(request: IngredientRequest):
식재료 이름: {request.ingredient_name}
주의: 반드시 유효한 JSON 형식으로 응답해주세요.
주의: 반드시 다른 텍스트 없이 유효한 JSON 형식으로만 응답해주세요.
"""

# 식재료 정보 생성
Expand Down
2 changes: 1 addition & 1 deletion app/routes/recipe/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def get_recipe(request: RecipeRequest):
음식 이름: {request.food_name}
주의: 반드시 유효한 JSON 형식으로 응답해주세요.
주의: 반드시 다른 텍스트 없이 유효한 JSON 형식으로만 응답해주세요.
"""

# 레시피 생성
Expand Down

0 comments on commit a254197

Please sign in to comment.