Docs
CodeRabbit
Cloudflare
Railway
WorkOS
AG Grid
OpenRouter
Netlify
Clerk
SerpAPI
Prisma
Unkey
Sentry
Electric
CodeRabbit
Cloudflare
Railway
WorkOS
AG Grid
OpenRouter
Netlify
Clerk
SerpAPI
Prisma
Unkey
Sentry
Electric
Class References
Function References
Interface References
Type Alias References
Variable References

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 objects. Adapters call once at the top of their option-mapping pipeline so the rest of the code only has to handle one shape.

Type Parameters

TMetadata

=

Properties

content

ts
content: string;
content: string;

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


metadata?

ts
optional metadata: TMetadata;
optional metadata: TMetadata;

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