generated from Cassiiopeia/SUH-DEVOPS-TEMPLATE
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
작업 완료작업 완료 상태인 경우 (이슈 폐쇄)작업 완료 상태인 경우 (이슈 폐쇄)
Description
📝 현재 문제점
- 새로운 콜백 모델을 정의하고 url을 통한 sns 의 장소 추출 로직을 현재 구현된 여러 기능을 통합하여 하나의 api로 만들어야함
🛠️ 해결 방안 / 제안 기능
[클라이언트]
|
| POST /api/extract-places {contentId, snsUrl}
v
[place_router.py]
|
| asyncio.create_task() → 즉시 {"received": true}
v
[background_tasks.py::process_extraction_in_background_v2]
|
v
[integrated_workflow.py::run_integrated_workflow]
|
+---> [1] route_and_scrape(url) → SnsInfo
|
+---> [2] extract_place_names_with_ollama(caption) → ["장소1", "장소2"]
|
+---> [3] NaverMapScraper.search_and_scrape() → NaverPlaceInfo[]
|
v
[콜백 페이로드 변환]
|
| NaverPlaceInfo → PlaceDetailCallback
| SnsInfo → SnsInfoCallback
v
[send_callback_v2]
|
| POST api.mapsy.suhsaechan.kr/api/ai/callback
v
[백엔드]
🙋♂️ 담당자
- 백엔드: @Cassiiopeia
- 프론트엔드: 이름
- 디자인: 이름
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
작업 완료작업 완료 상태인 경우 (이슈 폐쇄)작업 완료 상태인 경우 (이슈 폐쇄)
Type
Projects
Status
작업 완료