Fix linting
This commit is contained in:
parent
a788899285
commit
b456bb0942
2 changed files with 16 additions and 16 deletions
|
|
@ -598,15 +598,15 @@ LightRAG 中的文档处理流程有些复杂,分为两个主要阶段:提
|
||||||
LightRAG采用异步文档索引机制,便于前端监控和查询文档处理进度。用户通过指定端点上传文件或插入文本时,系统将返回唯一的跟踪ID,以便实时监控处理进度。
|
LightRAG采用异步文档索引机制,便于前端监控和查询文档处理进度。用户通过指定端点上传文件或插入文本时,系统将返回唯一的跟踪ID,以便实时监控处理进度。
|
||||||
|
|
||||||
**支持生成跟踪ID的API端点:**
|
**支持生成跟踪ID的API端点:**
|
||||||
* `/documents/upload`
|
* `/documents/upload`
|
||||||
* `/documents/text`
|
* `/documents/text`
|
||||||
* `/documents/texts`
|
* `/documents/texts`
|
||||||
|
|
||||||
**文档处理状态查询端点:**
|
**文档处理状态查询端点:**
|
||||||
* `/track_status/{track_id}`
|
* `/track_status/{track_id}`
|
||||||
|
|
||||||
该端点提供全面的状态信息,包括:
|
该端点提供全面的状态信息,包括:
|
||||||
* 文档处理状态(待处理/处理中/已处理/失败)
|
* 文档处理状态(待处理/处理中/已处理/失败)
|
||||||
* 内容摘要和元数据
|
* 内容摘要和元数据
|
||||||
* 处理失败时的错误信息
|
* 处理失败时的错误信息
|
||||||
* 创建和更新时间戳
|
* 创建和更新时间戳
|
||||||
|
|
|
||||||
|
|
@ -540,15 +540,15 @@ LightRAG implements asynchronous document indexing to enable frontend monitoring
|
||||||
|
|
||||||
**API Endpoints Supporting Track ID Generation:**
|
**API Endpoints Supporting Track ID Generation:**
|
||||||
|
|
||||||
* `/documents/upload`
|
* `/documents/upload`
|
||||||
* `/documents/text`
|
* `/documents/text`
|
||||||
* `/documents/texts`
|
* `/documents/texts`
|
||||||
|
|
||||||
**Document Processing Status Query Endpoint:**
|
**Document Processing Status Query Endpoint:**
|
||||||
* `/track_status/{track_id}`
|
* `/track_status/{track_id}`
|
||||||
|
|
||||||
This endpoint provides comprehensive status information including:
|
This endpoint provides comprehensive status information including:
|
||||||
* Document processing status (pending/processing/processed/failed)
|
* Document processing status (pending/processing/processed/failed)
|
||||||
* Content summary and metadata
|
* Content summary and metadata
|
||||||
* Error messages if processing failed
|
* Error messages if processing failed
|
||||||
* Timestamps for creation and updates
|
* Timestamps for creation and updates
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue