文件上传成功后,就可以通过文件提取接口获取文件内容了。需要注意的是,极客智坊提供的是文件异步加载,所以需要轮询提取文件内容接口获取文件内容,直到获取到文件内容为止。 轮询时,可以通过响应数据中的Documentation Index
Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
Use this file to discover all available pages before exploring further.
status 字段判断文件提取状态,status=reading 表示文件正在读取中,status=done 表示文件读取完成,此时可以通过 content 字段值获取文件内容,如果 status=failed,则表示文件读取失败。

API认证token
文件唯一标识符