chore: 初始化仓库,导入项目基线代码
Academy v0.8.3 完整代码基线:Go 后端(internal/cmd/cli/mcp-server/docreader)、 Vue 前端(frontend)、数据库迁移(migrations)、部署编排(docker/helm/deploy)与文档。 今日开发的培训推送管理改动随后单独提交。
This commit is contained in:
commit
7ec21f35b0
5767 files changed
+1436788
No files matched your search
@@ -0,0 +1,21 @@
|
||||
// Package docparser turns uploaded files and URLs into Markdown plus the
|
||||
// images they contain, which is the input the chunking and multimodal stages
|
||||
// downstream expect.
|
||||
//
|
||||
// A parse request names a parser engine, and every engine is one entry in the
|
||||
// registry:
|
||||
//
|
||||
// - engines.go declares the catalog — each engine's name, description,
|
||||
// supported file types, availability probe, and the reader that does the
|
||||
// work.
|
||||
// - engine_registry.go turns an engine name into a reader (NewReader) and
|
||||
// merges the local catalog with the engines the Python docreader reports
|
||||
// over its ListEngines RPC (ListAllEngines).
|
||||
//
|
||||
// Readers differ in where the parsing happens: in this process
|
||||
// (SimpleFormatReader, AnydocReader), in the docreader service over gRPC or
|
||||
// HTTP (GRPCDocumentReader, HTTPDocumentReader), or in a remote API (MinerU,
|
||||
// PaddleOCR-VL, Academy Cloud). They all return types.ReadResult, so the rest
|
||||
// of the package — image resolution and storage, table normalization — is
|
||||
// shared regardless of which engine ran.
|
||||
package docparser
|
||||
Reference in new issue
Block a user