mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-18 21:57:27 +08:00
Align Go ingestion boundaries with Python (#16647)
Moves doc_id blob resolution into Parser, tightens chunker/tokenizer to Python output_format semantics, updates extractor list handling, and fixes real-template integration tests.
This commit is contained in:
@@ -52,6 +52,7 @@ import (
|
||||
"ragflow/internal/dao"
|
||||
"ragflow/internal/engine"
|
||||
"ragflow/internal/engine/redis"
|
||||
_ "ragflow/internal/ingestion/wire" // single owner for ingestion-component registration (File / Parser / Tokenizer / Extractor + 4 Chunker variants)
|
||||
"ragflow/internal/server"
|
||||
"ragflow/internal/utility"
|
||||
)
|
||||
@@ -797,6 +798,7 @@ func startServer(config *server.Config) {
|
||||
}
|
||||
}
|
||||
adminRuntimeHandler := handler.NewAdminRuntimeHandler(adminRuntimeSelector)
|
||||
componentsHandler := handler.NewComponentsHandler(service.NewComponentsService())
|
||||
|
||||
// Initialize router
|
||||
r := router.NewRouter(authHandler,
|
||||
@@ -827,7 +829,8 @@ func startServer(config *server.Config) {
|
||||
fileCommitHandler,
|
||||
adminRuntimeHandler,
|
||||
openaiChatHandler,
|
||||
botHandler)
|
||||
botHandler,
|
||||
componentsHandler)
|
||||
|
||||
// Create Gin enginegit diff
|
||||
|
||||
|
||||
Reference in New Issue
Block a user