bar_set_flavor_profile
Set or update an ingredient's flavor profile by merging axis scores over existing values. Create it with a category when none exists, and mark novelty bottles unsuggestable.
Instructions
Set or update the flavor profile for an ingredient.
Partial updates are supported: profile may contain only the axes you want
to change — they're merged over the existing profile before saving. If the
ingredient has no profile yet, you must pass category (and ideally the
full axis set for that category).
Args: ingredient_id: BA ingredient_id of the specific bottle. profile: dict of axis → integer score (0–3). Merged over existing axes. category: required only when the ingredient has no profile yet (e.g. "gin", "amaro"). See bar_list_flavor_axes for valid axes. source: provenance — "tgii", "llm_from_description", "manual", etc. confidence: "high" | "medium" | "low" | None. notes: free-text reasoning. suggestable_for_classics: set False for novelty/allocated bottles the matcher should never surface even if their profile fits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| source | No | manual | |
| profile | Yes | ||
| category | No | ||
| confidence | No | ||
| ingredient_id | Yes | ||
| suggestable_for_classics | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |