Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion apps/api/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ RETRIEVAL_WALLET_PER_RETRIEVE_STEP_BUDGET=40000
RETRIEVAL_WALLET_PER_SYNTHESIZE_STEP_BUDGET=6000
RETRIEVAL_WORKFLOW_PARALLEL_MAX=3

# Agentic retrieval (LLM-driven hierarchical navigation).
# Set to false to fall back to legacy 3-channel RRF mode.
RETRIEVAL_AGENTIC_ENABLED=true

# File handling defaults
SUPPORTED_EXTENSIONS=.doc,.docx,.pdf,.txt,.xls,.xlsx,.csv,.pptx,.jpg,.jpeg,.png,.md
MAX_FILE_SIZE=104857600
Expand Down Expand Up @@ -128,4 +132,4 @@ ILOVEAPI_TIMEOUT=120

# Legacy parser compatibility fields.
ALL_DF_COLS=content,path,type,length,keywords,summary,know_id,tokens,connectto,addtime,page_nums
SPLIT_CHAR=-->
SPLIT_CHAR=/
6 changes: 5 additions & 1 deletion apps/worker/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ RETRIEVAL_WALLET_PER_RETRIEVE_STEP_BUDGET=40000
RETRIEVAL_WALLET_PER_SYNTHESIZE_STEP_BUDGET=6000
RETRIEVAL_WORKFLOW_PARALLEL_MAX=3

# Agentic retrieval (LLM-driven hierarchical navigation).
# Set to false to fall back to legacy 3-channel RRF mode.
RETRIEVAL_AGENTIC_ENABLED=true

# Required for specific features: billing and analytics
BILLING_ENABLED=false
STRIPE_SECRET_KEY=
Expand All @@ -118,5 +122,5 @@ MAX_FILE_SIZE=104857600

# Legacy parser compatibility fields.
ALL_DF_COLS=content,path,type,length,keywords,summary,know_id,tokens,connectto,addtime,page_nums
SPLIT_CHAR=-->
SPLIT_CHAR=/

353 changes: 353 additions & 0 deletions docs/agentic-rag-audit-20260513.md

Large diffs are not rendered by default.

51 changes: 0 additions & 51 deletions docs/external-services.md

This file was deleted.

82 changes: 0 additions & 82 deletions docs/testing-guidance.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ async def run_retrieval_query(
return await _to_public_response(response)

# ══ Route: agentic (unified workflow) vs legacy ══
_agentic_enabled = os.environ.get('RETRIEVAL_AGENTIC_ENABLED', 'false') == 'true'
_agentic_enabled = os.environ.get('RETRIEVAL_AGENTIC_ENABLED', 'true') == 'true'
if _agentic_enabled:
# ── Unified agentic path via WorkflowOrchestrator ──
# Simple queries: planner returns a single-step plan (no decomposition).
Expand Down
67 changes: 0 additions & 67 deletions packages/shared-python/shared/tests/test_workflow_orchestrator.py

This file was deleted.

89 changes: 0 additions & 89 deletions packages/shared-python/shared/tests/test_workflow_planner.py

This file was deleted.

Loading
Loading