Hi guys I have a system in which an AI report is generated via Dify, and then the generated content, together with a predefined prompt stored locally, is sent to the Gamma API to automatically generate a PDF.
However, we are encountering an issue where Gamma does not consistently follow the instructions in the prompt. For example, even when we explicitly request the generation of tables or line charts, Gamma often fails to produce them as specified.
Do you have any recommended approaches or best practices to improve instruction adherence in this type of workflow? For instance, are there more effective prompt structures, parameter settings, or API usage patterns that can help ensure tables and charts are rendered correctly?
Any guidance would be greatly appreciated.