Enums
Every enum value is listed below. foodapi.models.reasoning.ReasonGoal ¶ Bases: str, Enum Goal sent to POST /v1/reason. FEASIBILITY class-attribute…
PythonTypeScript
Every enum value is listed below.
foodapi.models.reasoning.ReasonGoal
¶
Bases: str, Enum
Goal sent to POST /v1/reason.
FEASIBILITY
class-attribute
instance-attribute
¶
Score whether the recipe is feasible given pantry and constraints.
TRANSFORMATION
class-attribute
instance-attribute
¶
Produce substitution / diet transformation steps.
RECOMMENDATION
class-attribute
instance-attribute
¶
Rank alternative recipes.
ANALYSIS
class-attribute
instance-attribute
¶
Return structured analysis; often paired with include_trace=True.
| Value | Description |
|---|---|
FEASIBILITY |
Can this recipe be made with available pantry/context? |
TRANSFORMATION |
Suggest ingredient substitutions or diet transforms |
RECOMMENDATION |
Rank alternative recipes |
ANALYSIS |
Deep structured analysis with trace |
foodapi.models.reasoning.RecommendedRecipeVersion
¶
| Value | Description |
|---|---|
ORIGINAL |
Score the source recipe as written |
TRANSFORMED |
Score after applying transformation plan |
Additional string enums appear on generated OpenAPI models in foodapi.models.