Open History to see the last commit
Interface: NormalizedSystemPrompt<TMetadata>#
Defined in: packages/typescript/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/typescript/ai/src/system-prompts.ts:53
metadata?#
optional metadata: TMetadata;
Defined in: packages/typescript/ai/src/system-prompts.ts:54