> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wordware.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Generation

> Harness the power of AI

<div style={{ position:"relative",paddingBottom:"52.38823529411764%",height:0 }}>
  <iframe src="https://www.loom.com/embed/474deeddee464274bfc11526546f47a9?sid=9e748726-e61e-4ab8-ad93-9f950a670805" frameBorder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style={{ position:"absolute",top:0,left:0,width:"100%",height:"100%" }} />
</div>

## What does it do?

Generations are what allows the AI to do something. They give you access to dozens of different AI models. They can help you write, design, and even code. You can use them to generate text, analyze images, and much more. You'll probably want at least one generation in every WordApp, and the more you use them, the more powerful your WordApps become.

<img src="https://mintcdn.com/wordware/GaAvACBL43qOk0NE/images/nodes/generation/generation_first_image.jpg?fit=max&auto=format&n=GaAvACBL43qOk0NE&q=85&s=7bbaaf2104c7b67d97cc28146c77bf69" alt="Generation First Image Jp" width="1356" height="544" data-path="images/nodes/generation/generation_first_image.jpg" />

## How do I use it?

A generation takes all the data that's appeared in the WordApp so far (i.e. everything written above the `/generation` in the editor) and passes it to your AI model of choice. The model then generates new content based on what it's seen.

To create a generation, type `/generation` in the editor, and hit `Enter`. You'll be prompted to fill in some details about the generation, like its name and the model you want to use, further explained below. Once you press run, the model will be fed all the content above the generation and generate new content based on it, which you can then reference with a [@\[name\_of\_generation\]](/nodes/mention).

### Options

A number of options appear in the sidebar when you create a generation. Here's what they mean:

#### Name

The name of the generation. You'll need this later if you want to reference the output of the generation in future flows.

You can change this in the attributes editor on the right hand side:

<img src="https://mintcdn.com/wordware/TZfH9znr7B6oxuO7/images/generation/generation_right_name.png?fit=max&auto=format&n=TZfH9znr7B6oxuO7&q=85&s=d2ee1b77d0ec46cc24f24845c64cbafd" alt="Generation Right Name Pn" width="870" height="726" data-path="images/generation/generation_right_name.png" />

Or you can change it directly in the editor on the left hand side:

<img src="https://mintcdn.com/wordware/TZfH9znr7B6oxuO7/images/generation/generation_name_left.png?fit=max&auto=format&n=TZfH9znr7B6oxuO7&q=85&s=caef73198472f64ef57541a782629831" alt="Generation Name Left Pn" width="826" height="212" data-path="images/generation/generation_name_left.png" />

#### AI Model

This lets you select which AI model you'd like to use. You can choose from a variety of models, each with its own strengths and weaknesses. There are a few featured models, but you can also browse the full range by clicking on the bottom button.

<img src="https://mintcdn.com/wordware/GaAvACBL43qOk0NE/images/nodes/generation/generation_model_view.png?fit=max&auto=format&n=GaAvACBL43qOk0NE&q=85&s=e5b696b8fe7310c6ecbc9e073947d24f" alt="Generation Model View Pn" width="1250" height="450" data-path="images/nodes/generation/generation_model_view.png" />

Here's a video where we go through some of the different model choices you can make.

See our dedicated [**model documentation**](https://www.notion.so/hey-daily/Models-615b76d7498f4e06ae522a329695da74) for our full list of supported models and their capabilities

####

<div style={{ position:"relative",paddingBottom:"64.63195691202873%",height:0 }}>
  <iframe src="https://www.loom.com/embed/b83ca3adde504e8cb14a39aa057c84b5?sid=847c1999-2b16-48b5-913e-5959825bc110" frameBorder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style={{ position:"absolute",top:0,left:0,width:"100%",height:"100%" }} />
</div>

#### Creativity

<img src="https://mintcdn.com/wordware/GaAvACBL43qOk0NE/images/nodes/generation/generation_creativity.png?fit=max&auto=format&n=GaAvACBL43qOk0NE&q=85&s=607ba9d820904fa6a62b3ff07e7897e4" alt="Generation Creativity Pn" width="1276" height="186" data-path="images/nodes/generation/generation_creativity.png" />

How creative the generation should be. A higher creativity level will produce more varied and interesting results, but is more likely to result in unexpected outputs.

As a rule of thumb, increase the creativity level if you're getting overly consistent or boring outputs, and decrease it if the outputs are too chaotic or nonsensical. Creative works like poetry or fiction often benefit from higher creativity, while logical or technical works like code or reports often benefit from lower creativity.

### Outputs

<img src="https://mintcdn.com/wordware/GaAvACBL43qOk0NE/images/nodes/generation/Name_in_attribute_editor.png?fit=max&auto=format&n=GaAvACBL43qOk0NE&q=85&s=39ebab8174bbb36de4cb651c5fcda014" alt="Name In Attribute Editor" width="846" height="216" data-path="images/nodes/generation/Name_in_attribute_editor.png" />

Generations produce a single output: the content generated by the model. You can reference this output in the editor with a [@\[name\_of\_generation\]](/nodes/mention) using the name of the generation specified.
