> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 模式代码片段组件

新的 `<SchemaSnippet>` 组件将您 API 参考文档中的类型定义显示为 JSON 代码块。将其与 `<Schema>` 组件一起使用，可以同时显示数据模型的 JSON 表示和详细字段分解。

### The AIChatConfig Object

```json
{
  "model": "claude-3.5",
  "system-prompt": "string"
}
```

**`Markdown`**

```jsx Markdown
<SchemaSnippet type="AIChatConfig" title="The AIChatConfig Object" />
```

阅读文档