Skip to content

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 ​

ParameterType
props{ children?: | string | Element; content?: string; }
props.children?| string | Element
props.content?string

Returns ​

Element

Examples ​

tsx
<System>You are a helpful assistant.</System>
tsx
<System content="You are a helpful assistant." />

Released under the MIT License.