DeepSieve offers two RAG modes:
- Naive mode: suitable for simple tasks with fast processing speeds, but may not be able to handle overly complex multi-step inference queries
- Graph Mode: Use graph structure to represent complex query relationships, suitable for processing complex queries that require multi-step reasoning, with higher precision but increased computational cost accordingly.
The user can select the mode via the environment variable RAG_TYPE. For regular queries it is recommended to use the Naive mode, while the Graph mode may be more appropriate when the query involves complex sub-problem dependencies.
This answer comes from the articleDeepSieve: a RAG Intelligent Information Screening Tool for Processing Complex Query SourcesThe