FileInfo interface
表示可以调用模型并使用工具的代理。
属性
| bytes | 文件的大小(以字节为单位)。 |
| created |
Unix 时间戳(以秒为单位)表示创建此对象的时间。 |
| filename | 文件的名称。 |
| id | 可以在 API 终结点中引用的标识符。 |
| object | 对象类型,始终为“file”。 |
| purpose | 文件的预期用途。 |
| status | 文件的状态。 此字段仅在 Azure OpenAI 中可用。 |
| status |
此文件处理失败时包含详细信息的错误消息。 此字段仅在 Azure OpenAI 中可用。 |
属性详细信息
bytes
文件的大小(以字节为单位)。
bytes: number
属性值
number
createdAt
Unix 时间戳(以秒为单位)表示创建此对象的时间。
createdAt: Date
属性值
Date
filename
文件的名称。
filename: string
属性值
string
id
可以在 API 终结点中引用的标识符。
id: string
属性值
string
object
对象类型,始终为“file”。
object: "file"
属性值
"file"
purpose
status
statusDetails
此文件处理失败时包含详细信息的错误消息。 此字段仅在 Azure OpenAI 中可用。
statusDetails?: string
属性值
string