mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-12 22:55:45 +08:00
Limit max recursion depth for rag analyzer#3318 (#13637)
### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -121,7 +121,8 @@ private:
|
||||
std::vector<std::vector<std::pair<std::string, int>>>& token_list,
|
||||
std::vector<std::string>& best_tokens,
|
||||
double& max_score,
|
||||
bool memo_all) const;
|
||||
bool memo_all,
|
||||
int depth = 0) const;
|
||||
|
||||
void TokenizeInner(std::vector<std::string>& res, const std::string& L) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user