feat: v1.2.0 - 图片去重与管理、微信机器人优化、搜索设置可配置
主要功能: - 图片上传时 OCR 内容去重(3个上传端点统一使用公共函数 _check_ocr_duplicate) - 图片管理 Tab:展示所有图片、手动删除、一键去重 - 搜索结果详情弹窗增加删除按钮(带确认弹窗) - 图片管理卡片点击查看详情(复用 showOcrDetailModal) - 搜索限制和 LLM 批量判断数量可通过网站设置 - MiniMax API 调用添加 reasoning_split=True - 企业微信机器人:WebSocket 长连接、图片搜索、配置化搜索数量 - 版本号升级至 1.2.0
This commit is contained in:
32
app/schemas/__init__.py
Normal file
32
app/schemas/__init__.py
Normal file
@@ -0,0 +1,32 @@
|
||||
"""
|
||||
Pydantic Schemas 包
|
||||
用于 API 请求/响应的数据校验与序列化
|
||||
"""
|
||||
|
||||
from app.schemas.page import (
|
||||
PageCreate,
|
||||
PageResponse,
|
||||
PageListResponse,
|
||||
)
|
||||
from app.schemas.search import (
|
||||
SearchRequest,
|
||||
SearchResponse,
|
||||
SearchResult,
|
||||
)
|
||||
from app.schemas.ocr import (
|
||||
OCRResultSchema,
|
||||
OCRBlockSchema,
|
||||
ImageUploadResponse,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"PageCreate",
|
||||
"PageResponse",
|
||||
"PageListResponse",
|
||||
"SearchRequest",
|
||||
"SearchResponse",
|
||||
"SearchResult",
|
||||
"OCRResultSchema",
|
||||
"OCRBlockSchema",
|
||||
"ImageUploadResponse",
|
||||
]
|
||||
Reference in New Issue
Block a user