mirror of
https://github.com/TanStack/ai.git
synced 2026-11-16 19:38:41 +00:00
932 B
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