Skip to main content

types/invoices/Recipe

@arolariu/website


@arolariu/website / types/invoices/Recipe

types/invoices/Recipe

Fileoverview

Recipe type definitions for AI-generated cooking suggestions.

Remarks

This module defines recipe types for cooking suggestions generated from invoice products. Recipes are AI-generated recommendations based on purchased ingredients.

Generation Process:

  1. AI analyzes products in invoice items
  2. Matches against recipe database using ingredient compatibility
  3. Filters by missing ingredient count
  4. Ranks by complexity and user preferences

Use Cases:

  • Meal planning from grocery purchases
  • Reducing food waste by suggesting recipes for perishables
  • Discovering new recipes based on available ingredients

See

  • Invoice.possibleRecipes for recipe attachment
  • Product for ingredient source

Type Aliases

Variables

// was this page useful?