**请求URL**

/api/ebuilder/form/ai/chat POST

**请求体** application/json

```json
{
    "ability": "功能，解析表单数据固定为【createData】",
    "businessId": "position为form时，此处为表单引擎表单id，可通过   window.WeFormSDK.getWeFormInstance().getBaseInfo().formId   取得。position为其他时，传入ebuilder表单id",
    "requestOrigin": "当前页面url，仅记录，暂无业务处理",
    "origin": "请求来源",
    "sessionId": "new uuid，唯一标识一次会话", 
    "content": "要解析的文本内容",
    "appId": "position为form时可不传，否则为ebuilder应用id",
    "position": "页面位置"
}
```

**请求示例**

```json
{
    "ability": "createData",
    "businessId": "944655564229230715",
    "requestOrigin": "/sp/ebdapp/build/944655564229230623/layout/1_944655564229230632-5410314476650585230?terminal=PC&menuName=%E6%96%B0%E5%BB%BA%E4%BB%BB%E5%8A%A1&selectedId=5410314476650585230",
    "origin": "im",
    "sessionId": "f9dd440f39ae4bbc8dce0e44d4800149",
    "content": "给武宇敬建个支持列表导出的任务，优先级很高，月底要",
    "appId": "944655564229230623",
    "position": "form"
}
```

**返回结果示例**

```json
{
    "code": 200,
    "msg": "接口返回成功",
    "status": true,
    "data": {
        "id": "978795821103857665",
        "sessionId": "f16c8426c08a4289ae45949904b2597e",
        "content": "已为您填写表单内容：\n\n- 负责人：武宇敬\n- 截止日期：2024-03-31\n- 任务名称：支持列表导出\n- 优先级：高\n\n请确认表单内容是否正确，您可以继续补充描述或在表单上手动修改。",
        "system": false,
        "ability": "createData",
        "refresh": false,
        "tokenLongWarning": false,
        "funcOperationName": "立即使用",
        "canCreate": false,
        "createDataFuncEntity": {
            "system": false,
            "refresh": false,
            "tokenLongWarning": false,
            "funcOperationName": "立即使用",
            "canCreate": false,
            "data": {
                "944655564229230640": [
                    {
                        "name": "武宇敬",
                        "id": "3042821628553059514"
                    }
                ],
                "944655564229230641": "2024-03-31",
                "944655564229230638": "支持列表导出",
                "944655564229230642": [
                    {
                        "name": "高",
                        "id": "944655564229230746"
                    }
                ]
            },
            "confirmCreate": false,
            "actualClass": "com.weaver.ebuilder.form.ai.entity.create.data.CreateDataFuncEntity"
        },
        "createData": true,
        "actualClass": "com.weaver.ebuilder.form.ai.entity.create.data.CreateDataResponse"
    },
    "fail": false
}
```
