Both functions are DB-free public API additions to assembly_recipes.py. get_role_candidates() scores pantry candidates against a wizard step using element-profile overlap with prior picks; build_from_selection() builds a RecipeSuggestion from explicit role overrides with required-role validation. |
||
|---|---|---|
| .. | ||
| community | ||
| export | ||
| image_preprocessing | ||
| ocr | ||
| quality | ||
| recipe | ||
| __init__.py | ||
| barcode_scanner.py | ||
| expiration_predictor.py | ||
| inventory_service.py | ||
| openfoodfacts.py | ||
| receipt_service.py | ||
| receipt_service_inmemory_backup.py | ||