# Interface: PromptSection (/pixi-vn-ai/index/interfaces/PromptSection)



Defined in: [src/types/PromptSection.ts:8](https://github.com/DRincs-Productions/pixi-vn-ai/blob/f5205e28d51c043e8eeb27fcb2b61433f3751ac2/src/types/PromptSection.ts#L8)

A single, independent block of a generated prompt.

The PromptBuilder assembles a prompt out of an ordered list of sections instead of
concatenating raw strings, so every piece of context (history, scene, speaker, ...) stays
isolated and easy to reason about.

## Properties [#properties]

### content [#content]

\> **content**: `string`

Defined in: [src/types/PromptSection.ts:22](https://github.com/DRincs-Productions/pixi-vn-ai/blob/f5205e28d51c043e8eeb27fcb2b61433f3751ac2/src/types/PromptSection.ts#L22)

Body of the section. Plain text or a serialized JSON string.

***

### description? [#description]

\> `optional` **description?**: `string`

Defined in: [src/types/PromptSection.ts:18](https://github.com/DRincs-Productions/pixi-vn-ai/blob/f5205e28d51c043e8eeb27fcb2b61433f3751ac2/src/types/PromptSection.ts#L18)

Explains what [content](#content) is and how to interpret it, for content that isn't
self-descriptive (e.g. a serialized JSON object or array). Omit when the title and content
are already clear on their own (e.g. plain developer-provided text).

***

### title [#title]

\> **title**: `string`

Defined in: [src/types/PromptSection.ts:12](https://github.com/DRincs-Productions/pixi-vn-ai/blob/f5205e28d51c043e8eeb27fcb2b61433f3751ac2/src/types/PromptSection.ts#L12)

Heading of the section (e.g. "Scene", "Narrative History").
