# Text Summarization


Please provide a concise summary of the following text, highlighting the key points and main ideas.


Focus on:
- Main arguments or themes
- Important facts or data
- Conclusions or recommendations


Keep the summary under 200 words.
```

## Frontmatter Configuration

[Section titled “Frontmatter Configuration”](#frontmatter-configuration)

The YAML frontmatter supports all the same configuration options as the `script()` function in JavaScript/TypeScript scripts:

### Common Options

[Section titled “Common Options”](#common-options)

```yaml
---
title: "Script Title"           # Display name in UI
description: "What this does"   # Description shown in lists
model: "large"                  # Model size: small, large, vision
temperature: 0.7                # Creativity level (0-2)
maxTokens: 1000                # Maximum response length
---
```

### Advanced Options

[Section titled “Advanced Options”](#advanced-options)

```yaml
---
title: "Advanced Script"
description: "Example with advanced settings"
model: "gpt-4"
temperature: 0.5
maxTokens: 2000
cache: true                     # Enable caching
system: |                       # Custom system message
  You are a helpful assistant specialized in code analysis.
  Always provide detailed explanations.
parameters:                     # Script parameters
  language:
    type: "string"
    description: "Programming language"
    default: "typescript"
  style:
    type: "string"
    description: "Code style preference"
    enum: ["concise", "detailed"]
---
```

## Content Processing

[Section titled “Content Processing”](#content-processing)

The markdown content is automatically converted to a `$` template string in the generated JavaScript. This means:

* The entire markdown content becomes the prompt
* Backticks (\`) in the content are automatically escaped
* The content preserves formatting and structure

### Example Conversion

[Section titled “Example Conversion”](#example-conversion)

This markdown script:

review\.genai.md

```markdown
---
title: "Code Review"
model: "large"
---