Emojis
Tejas Gopal
I still have emojis that show up in the image generation. They show up in both the Gamma and the PowerPoint generation. I've mentioned this issue earlier.
The API call I'm sending looks like this:
create_payload = {
"inputText": full_prompt,
"textMode": "generate",
"format": "presentation",
"themeId": self.gamma_theme,
"numCards": slide_amount,
"cardSplit": "auto",
"additionalInstructions": additional_instructions,
"exportAs": "pptx",
"textOptions": {
"amount": "medium",
"tone": "professional, analytical",
"audience": "You are speaking to business stakeholders at pharmaceutical manufacturing companies, they are non-technical but familiar with pharma data. You are NOT speaking with doctors nor providers.",
"language": "en",
},
"imageOptions": {
"source": "noImages",
},
}
The full_prompt consists of data and related information to output in the slides. I don't think that's related to any of these issues. The additional_instructions is:
instructions = """
Note that you are talking to pharmaceutical manufacturer stakeholders, not providers. Make the title informative, only utilize a title and nothing else should go at the top. Also no need to mention the steps in the title.
Try not to have a lot of empty space in slides, make analysis font readable (not too small).
Also utilize box formats for text and other formats when possible, so essentially try to avoid having the entirety of a slide just be text on a white background.
When I say "Bar Diagram" I mean a bar diagram with horizontal bars showcasing the data, don't use vertical bars.
Also if there are multiple datasets, ensure to have multiple Bar Diagrams on the same slide.
For said Bar Diagrams, ensure the labels and categories are not cut off, abbreviate them when necessary.
Also for the Bar Diagrams, refer to doctors properly so as Dr. Smith, not John Smith.
It shouldn't take the whole slide and should be side by side with the combined interpretation. The y axis should showcase numbers while the x axis should be the category. Use whole numbers for the y axis intervals, not decimals.
One edge case is that if there's no data for a step, just make a slide that says "no data available for this step". No need to mention schema errors or what fields were missing, etc. Just keep it simple.
Don't insert placeholder images and do not include symbols of awards. NEVER use emojis/emoticons/any icon images.
Don't use the blue, yellow, green, and red informational boxes that Gamma inserts automatically please.
Refer to doctors as Dr. Smith for example instead of John Smith.
"""
Photo Viewer
View photos in a modal
Nik Payne (Gamma design)
Hey Tejas Gopal, thanks for the super detailed writeup and the screenshot. Totally get why this is frustrating, especially since you’re explicitly saying “NEVER use emojis” and still seeing them.
A couple quick Qs so we can narrow it down and I can pass something actionable to the team:
1) Are the emojis showing up as actual emoji characters in the text, or as little icon images inside those “Priority” boxes?
2) Do they appear only in those auto-styled callout/box components, or also in plain body text slides?
3) If you remove the “Priority 1/2/3/4” wording from the prompt, do the emojis still show up, or does that stop it?
If you can share one example of the exact generated text for a box where it happens (just that snippet), that’d help a lot.
Tejas Gopal
Nik Payne (Gamma design)
1) It's showing up as actual emoji text characters
2) Typically they are in the last slide with the box components since I ask for a "call to action summary for the stakeholders" although I did not say anywhere in there to include emojis
3) I didn't tell it to do a Priority 1/2/3/4, I kept it more broad and just asked it to showcase a summary.
I'm not sure what you mean by exact generated text as that is what is shown in the powerpoint right? However, I did miss some context on what to generate per slide for the additional instructions. Here it is:
" instructions = f"""
{self._build_additional_query_instructions_simple}
Slide 1: Title slide with the topic of the presentation which should reference the prompt. Don't include pictures here.
Slide 2: Showcase a Bar Diagram or other appropriate diagram visualizing the data queried alongside a summary and interpretation of the data. Make sure these both fit on the slide, don't make the diagram too big.
If there are multiple datasets queried, utilize a multi-bar diagram.
Slide 3: Showcase insights about the data.
Slide 4: Summarize insights with some takeaways that the pharmaceuticals can take action on. No need to mention pharmaceutical stakeholders in the title, you can just keep it general. NEVER include emojis on this slide.
"
Note I tried taking out the NEVER include emojis part but it was even worse then.
And the build_additional_query_instructions_simple is what I had sent above.