Adjustments in the PDF studio
If an offer does not fit its page, admins change this offer’s HTML in the PDF studio, with the AI or by hand. The offer itself stays unchanged.
HTML is the text from which the PDF template sets the page. It holds the offer’s details and their design.
Origin
An adjustment belongs to the template and the offer. It holds in every PDF of this template, also with Create export (Export). Above the offer chosen, it says where its HTML comes from.
| Origin | Meaning |
|---|---|
| as the template writes it | The offer is not adjusted. |
| adjusted | A proposal was accepted or the HTML was changed by hand. |
| adjustment stale | The offer or the template has changed since the adjustment. The PDF takes what the template writes again. |
Below the form, the history lists the last 10 changes with name and time: instructions to the AI with its answer, and changes by hand.
AI
The AI tab belongs to the app AI review. Without the app it reads “AI only with the app “Mistral AI”” with the link To the app store. The HTML can then be changed by hand in the HTML tab.
| Element | Meaning | Default |
|---|---|---|
| What should change? | The instruction for the AI. If the offers follow one another, the field is called What should change about this offer? | “Shorten until the page fits” |
| Suggestions for the instruction | Shorten until the page fits, Smaller picture, More compact dates, Font not below 9 pt; with a gap, first Shorten by {number} mm. A suggestion enters its text as the instruction. | – |
| Do not change dates, age, fee and meeting point | If a proposal still changes a date, a time, an age, a fee or the meeting point, fepli discards it. | on |
| Adjust with AI | Starts the job for the offer chosen. It runs in the background, and you can look at other pages meanwhile. | – |
Fix overflows with AI in the studio’s header starts a job for every offer that runs over, is split or stands before a gap.
The AI gets the page as it is set as a picture, the offer’s HTML, the template’s design and the measurement. It changes only this offer. If the server cannot make a picture, the AI gets the HTML without one. Which data goes to Mistral AI is described under AI review.
Proposal
The AI’s answer is a proposal. It appears in place of the form, and fepli measures it again. Until you accept it, it does not hold: the PDF takes the template’s HTML.
| Element | Meaning |
|---|---|
| Proposal | One sentence from the AI on what it changed |
| Effect | What the proposal changes on the page, e.g. “Fits now · {number} mm free” or “{count} pages fewer” |
| Changes to the HTML | The changed lines of the HTML |
| Accept | The proposal holds. The offer is then adjusted. |
| Again | Discards the proposal and asks the same instruction once more. |
| Discard | Discards the proposal. |
HTML
The HTML tab shows, in the field HTML of this offer, the section that the template writes for the offer chosen.
- A change holds shortly after the input, without confirmation. It holds in every PDF of this template until the offer changes.
- If the text again equals that of the template, the adjustment lapses.
- Reset to the template removes the adjustment. The button appears only for adjusted offers.
fepli removes page breaks, design rules of their own and program code from the HTML, also from the HTML of a proposal. For the addresses of images and links, the rules of the PDF templates apply.
Messages
| Message | Meaning |
|---|---|
| “No AI connected – that needs the app “Mistral AI”.” | The app is not connected. |
| “The AI did not answer. Please try again in a moment.” | The request failed. |
| “The AI returned no HTML. Please try again.” | The answer held no HTML. |
| “The proposal changed locked details ({details}) and was discarded.” | The proposal changed dates, age, fee or meeting point. |
| “The AI took too long. Please try again.” | After 3 minutes without an answer the studio stops waiting. |
| “The offer or the template changed since it was adjusted. …” | The adjustment is stale. Adjust the offer again or leave it as the template writes it. |