mirror of
http://88.130.71.182:3000/BlitTech/contexta_be.git
synced 2026-06-13 08:45:24 +00:00
fixed the RAg in test pipeline issue
This commit is contained in:
@@ -480,7 +480,7 @@ async def get_knowledge_gaps(chatbot_id: str, user=Depends(get_current_user)):
|
||||
low_conf = supabase.table("messages").select("id, conversation_id, created_at") \
|
||||
.in_("conversation_id", conv_ids[:100]) \
|
||||
.eq("role", "assistant") \
|
||||
.lt("confidence_score", 0.2) \
|
||||
.lt("confidence_score", 0.55) \
|
||||
.limit(100).execute()
|
||||
|
||||
if not low_conf.data:
|
||||
|
||||
Reference in New Issue
Block a user