Added a guide on running a retrieval test, with and without knowledge graph (#5200)

### What problem does this PR solve?



### Type of change


- [x] Documentation Update
This commit is contained in:
writinwaters
2025-02-21 19:36:20 +08:00
committed by GitHub
parent ef8847eda7
commit 217caecfda
9 changed files with 114 additions and 21 deletions

View File

@ -43,7 +43,7 @@ class RetrievalParam(ComponentParamBase):
def check(self):
self.check_decimal_float(self.similarity_threshold, "[Retrieval] Similarity threshold")
self.check_decimal_float(self.keywords_similarity_weight, "[Retrieval] Keywords similarity weight")
self.check_decimal_float(self.keywords_similarity_weight, "[Retrieval] Keyword similarity weight")
self.check_positive_number(self.top_n, "[Retrieval] Top N")