Open History to see the last commit
1---
2id: NormalizedSystemPrompt
3title: NormalizedSystemPrompt
4---
5
6# Interface: NormalizedSystemPrompt\<TMetadata\>
7
8Defined in: [packages/ai/src/system-prompts.ts:52](https://github.com/TanStack/ai/blob/main/packages/ai/src/system-prompts.ts#L52)
9
10Normalised shape adapters see after the chat layer turns string entries
11into `{ content }` objects. Adapters call `normalizeSystemPrompts` once at
12the top of their option-mapping pipeline so the rest of the code only has
13to handle one shape.
14
15## Type Parameters
16
17### TMetadata
18
19`TMetadata` = `unknown`
20
21## Properties
22
23### content
24
25```ts
26content: string;
27```
28
29Defined in: [packages/ai/src/system-prompts.ts:53](https://github.com/TanStack/ai/blob/main/packages/ai/src/system-prompts.ts#L53)
30
31***
32
33### metadata?
34
35```ts
36optional metadata: TMetadata;
37```
38
39Defined in: [packages/ai/src/system-prompts.ts:54](https://github.com/TanStack/ai/blob/main/packages/ai/src/system-prompts.ts#L54)