Skip to content

Commit b5faf3f

Browse files
jwmuellerulya-tkch
andauthored
switch from as-backup to more reliable expert answer serving (#111)
* switch from as-backup to more reliable expert answer serving * fix typo --------- Co-authored-by: Ulyana <[email protected]>
1 parent 325c5af commit b5faf3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cleanlab_codex/experimental/strands/cleanlab_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def cleanlab_get_final_response(
600600

601601
is_replaced = False
602602
final_response = initial_response
603-
if results.expert_answer and results.escalated_to_sme:
603+
if results.expert_answer: # and results.escalated_to_sme: (Note: uncomment this to utilize Cleanlab Expert-Answers solely as a backup)
604604
final_response = results.expert_answer
605605
is_replaced = True
606606
elif results.should_guardrail:

0 commit comments

Comments
 (0)