Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: remove company info from resume_summary to prevent over-retrieval (#13358)

Yao Weic99b53064d0b
diff --git a/rag/app/resume.py b/rag/app/resume.py
index f9f885e126..08bb737764 100644
--- a/rag/app/resume.py
+++ b/rag/app/resume.py
@@ -2125,7 +2125,7 @@ def _build_chunk_document(filename: str, resume: dict,
# Extract key identity fields, redundantly written to each chunk
# These fields are small in size but high in information density; once retrieved, the candidate can be immediately identified
_IDENTITY_FIELDS = ("name_kwd", "phone_kwd", "email_tks", "gender_kwd",
- "highest_degree_kwd", "work_exp_flt", "corporation_name_tks")
+ "highest_degree_kwd", "work_exp_flt")
identity_meta = {}
for ik in _IDENTITY_FIELDS:
iv = resume.get(ik)