0
Fork 0
mirror of https://github.com/TanStack/ai.git synced 2026-11-16 19:38:41 +00:00
ai/docs/reference/interfaces/NormalizedSystemPrompt.md
github-actions[bot] 5701bf5184
docs: regenerate API documentation (#1141)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-18 19:53:35 +02:00

932 B

id title
NormalizedSystemPrompt NormalizedSystemPrompt

Interface: NormalizedSystemPrompt<TMetadata>

Defined in: packages/ai/src/system-prompts.ts:52

Normalised shape adapters see after the chat layer turns string entries into { content } objects. Adapters call normalizeSystemPrompts once at the top of their option-mapping pipeline so the rest of the code only has to handle one shape.

Type Parameters

TMetadata

TMetadata = unknown

Properties

content

content: string;

Defined in: packages/ai/src/system-prompts.ts:53


metadata?

optional metadata?: TMetadata;

Defined in: packages/ai/src/system-prompts.ts:54