Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 7 Next »

The AI document generation system allows your agent to produce clean, crisp, nicely formatted documents and send them over to your end-user.

Template Editor

The first step in making your AI sales-bot is to create your document template. To do this, you need to access the Document Template tab:

image-20250121-164324.png

You should then get a view that looks like this:

image-20250121-181612.png

This is the template editor. It is a full HTML and PDF page editor. To add new widgets into the page, press the “+” Icon:

image-20250121-204508.png

You will then be presented with a menu with various options that you can drag into the editor.

image-20250121-204609.png

If you select an element, such as this newly added 3-Column layout widget, the right side of the editor provides you with the full complement of attributes to edit the HTML of that widget:

image-20250121-204721.png

Note that you need to be familiar with HTML CSS attributes in order to adjust the settings here.

Variable Bindings

A key aspect of the document generator is the ability to bind sections of the document to specific variables that an LLM model may have generated.

To do that, simply select a section that you would like to bind to a variable. Go to Properties, and type in the variable name you would like to bind to into the Variable Binding box.

Note! It doesn’t really matter what text you put into the the editor itself. All text contained within the bound element gets replaced by the contents of the variable. In this example, we used [square_brackets] as filler text for the document template. You could have also used filler text like an Lorem Ipsum paragraph. It doesn’t matter - the text gets replaced by the contents of the bound variable.

image-20250121-205317.png

Template Settings

At the bottom of the screen provides us a second tab that we can flip to:

image-20250121-205341.png

This allows us to set high level settings for this document template. It also provides fields for you to fill in values and see how the final rendered document looks.

Note! Its important to set a title for the document, or else the AI will not be able to choose it.

In order to test the rendering of the document, simply fill in values to these fields:

image-20250121-205616.png

After we press submit on this example, and give it ten seconds or so to process, we see the final rendered result show up:

example generated document.png

Bingo! We have a generated document.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.