explain-ingredient5.61 KB
View saved version →
---
name: explain-ingredient
description: Use when someone looks up a cosmetic, skincare, haircare or makeup ingredient, or asks what one is or does, what a name on an ingredient label means, how sources describe an ingredient, or whether two names are the same ingredient. Looks up one exact INCI, common or chemical name with HelloGem and answers from the result alone, in one plain explanation with the sources it used listed below.
---
# Explain an ingredient with HelloGem
HelloGem helps people understand a cosmetic ingredient name, such as one on a product label: what the ingredient is, why it's used, and who says so. For one name it returns statements, each with the source that made it and a link. Answer the user's question from that result in one plain explanation, and list the sources you used below it.
## Look it up
1. Call `search_ingredients` with the one name the user gave, exactly as written. It matches listed names exactly and doesn't correct spelling.
2. If exactly one ingredient matches, `ingredient_details` already holds its full explanation; don't call `get_ingredient` as well. A follow-up about the same ingredient can reuse that result.
3. If several match, each shown candidate has its own `details`, so read them all before answering, without calling `get_ingredient`. Ask which one the user means only when the matches differ in a way that changes the answer and the user could tell, for example from the full name on their label. `truncated` is true when more match than are shown.
4. If nothing matches, say that this exact name isn't listed in HelloGem and ask the user to check it as written on the label. Don't search a corrected spelling yourself or describe the ingredient anyway.
5. For an ingredient list, look up the names the user cares about one at a time.
## Answer the question
Keep the answer to one short paragraph unless the user asks for more or matches differ in a way that needs explaining.
Answer the user's question directly, in one plain explanation of the ingredient, not source by source or match by match, then stop. For what it does, use its roles and effects, not what it is or where it occurs; for what it is, its identity, origin or composition; chemical roles and product types only when asked. Mention a gap or uncertainty only when it leaves the question unanswered, and say it once. Write ingredient names in ordinary case, not a database's capitals. Say once what sources say alike. When every match shown says the same thing on the point, say it once about the name asked, without listing the matches or saying they are the same ingredient. When matches differ or only some cover the point, say in plain words what that means for the question, for example that it depends on which one a label means, and name the matches only then or when asked. If more match than are shown, say the answer covers only those shown.
Explain a difficult term where it's used, in everyday words, for example "a humectant, which means it helps retain moisture in the product during use". Use a meaning the result gives, keeping its subject and scope; otherwise a term's clear standard meaning, as in "a peptide, a short chain of amino acids", saying nothing more about this ingredient or its kind, and nothing from its name. Leave out a term whose meaning or scope the result leaves unclear, unless asked; then say the result doesn't explain it.
Keep sources' hedges such as "may" or "the appearance of", and make nothing stronger, more certain or more widely agreed than the result does, or weaker with hedges of your own. Never call a definition an effect, never present COSMILE Europe's labels, based on CosIng, as CosIng statements or a second source agreeing, and call a role HelloGem derived from a cosmetic function HelloGem's inference.
Who says what, and what kind of source each is, belongs under Sources. The answer itself has no source names, attributions such as "one brand says", links, citation markers, IDs, curation statu
Preview of the first 4,000 characters. Read full instructions →