Skip to content

Commit ae8b440

Browse files
committed
removed hardcoding of threshold value
1 parent dd8e593 commit ae8b440

File tree

1 file changed

+0
-1
lines changed
  • patterns/pattern-1/src/processresults_function

1 file changed

+0
-1
lines changed

patterns/pattern-1/src/processresults_function/index.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def get_confidence_threshold_from_config(document: Document) -> float:
5353
return 0.80
5454

5555
logger.info(f"Retrieved confidence threshold from configuration: {threshold_value}")
56-
threshold_value=0.8
5756
return threshold_value
5857
except Exception as e:
5958
logger.warning(f"Failed to retrieve confidence threshold from configuration: {e}")

0 commit comments

Comments
 (0)