feat: 完善后端知识库服务和配置
- 优化 AI-Core 客户端调用 - 添加更多知识库配置选项 - 完善文档解析逻辑 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -145,7 +145,8 @@ type UploadDocumentResponse struct {
|
||||
|
||||
// DocumentPreviewResponse 文档预览响应
|
||||
type DocumentPreviewResponse struct {
|
||||
TotalPages int `json:"total_pages"`
|
||||
CurrentPage int `json:"current_page"`
|
||||
Content string `json:"content"`
|
||||
TotalPages int `json:"total_pages"`
|
||||
CurrentPage int `json:"current_page"`
|
||||
Content string `json:"content"`
|
||||
ContentType string `json:"content_type"` // url: 文件URL, html: HTML内容
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user