feat(): prediction pipeline

This commit is contained in:
gitgernit
2025-11-23 04:11:52 +03:00
parent 2e6214a5ec
commit d1c7641698
25 changed files with 224 additions and 244 deletions
+3 -3
View File
@@ -6,8 +6,8 @@ from fastapi import APIRouter
from pydantic import BaseModel, Field
from template_project.application.resume.entity import ResumeId
from template_project.application.resume.interactors.predict_salary import (
PredictSalaryInteractor,
from template_project.application.resume.interactors.predict_model import (
PredictModelInteractor,
PredictSalaryRequest,
VacancyInput,
)
@@ -94,7 +94,7 @@ class PredictSalaryResponseModel(BaseModel):
)
async def predict(
request: PredictSalaryRequestModel,
interactor: FromDishka[PredictSalaryInteractor],
interactor: FromDishka[PredictModelInteractor],
) -> PredictSalaryResponseModel:
vacancy_inputs = [
VacancyInput(