feat: add profile drift governance workflow
This commit is contained in:
@@ -28,7 +28,9 @@ async def generate_recommendation(
|
||||
context: RequestContext = Depends(build_request_context), # noqa: B008
|
||||
key: str | None = Header(default=None, alias="Idempotency-Key"),
|
||||
) -> dict[str, object]:
|
||||
return await ProductRecommendationService().generate(payload, context, key)
|
||||
return await ProductRecommendationService(enforce_profile_governance=True).generate(
|
||||
payload, context, key
|
||||
)
|
||||
|
||||
|
||||
@advisor_router.get("/recommendations/published")
|
||||
|
||||
Reference in New Issue
Block a user