AIDK API Reference / aidk-ai-sdk / System
Function: System() ​
ts
function System(props: {
children?: | string
| Element;
content?: string;
}): Element;Defined in: packages/adapters/ai-sdk/src/components.tsx:244
AI SDK-style System message component.
Convenience wrapper for system messages.
Parameters ​
| Parameter | Type |
|---|---|
props | { children?: | string | Element; content?: string; } |
props.children? | | string | Element |
props.content? | string |
Returns ​
Examples ​
tsx
<System>You are a helpful assistant.</System>tsx
<System content="You are a helpful assistant." />