feat: Refactor chunk extraction and knowledge processing logic
- Updated the logging message for Neo4j configuration to a warning level when not enabled. - Removed unused environment variable checks related to graph RAG processing. - Enhanced the chunk extraction task creation logic to respect the new extract configuration settings. - Added an `Enabled` field to the ExtractConfig struct for better configuration management.
This commit is contained in:
@@ -1241,7 +1241,7 @@ func (h *InitializationHandler) buildConfigResponse(ctx context.Context, models
|
||||
|
||||
if kb.ExtractConfig != nil {
|
||||
config["nodeExtract"] = map[string]interface{}{
|
||||
"enabled": true,
|
||||
"enabled": kb.ExtractConfig.Enabled,
|
||||
"text": kb.ExtractConfig.Text,
|
||||
"tags": kb.ExtractConfig.Tags,
|
||||
"nodes": kb.ExtractConfig.Nodes,
|
||||
|
||||
Reference in New Issue
Block a user