> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# Function: createOpenUiChatPromptLibrary()

> **createOpenUiChatPromptLibrary**(): `Library`\<() => `null`>

为支持的 OpenUI Chat 组件创建可在服务端使用的 schema 和提示词库。
此入口不会加载 ReactLynx、原生组件或 CSS。

## Returns

`Library`\<() => `null`>

## Example

```ts
const prompt = createOpenUiChatPromptLibrary().prompt();
```
