消息 delta 对象 (v1)
Legacy

表示消息增量,即流式处理期间消息上的任何更改字段。source

消息的标识符,可在 API 端点中引用。source

对象类型,始终为thread.message.delta.source

包含 Message 上已更改的字段的增量。source

OBJECT 消息 delta 对象 (v1)
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  "id": "msg_123",
  "object": "thread.message.delta",
  "delta": {
    "content": [
      {
        "index": 0,
        "type": "text",
        "text": { "value": "Hello", "annotations": [] }
      }
    ]
  }
}