Float Cast Safety & Ensure Templates Update
This commit is contained in:
@@ -88,7 +88,7 @@ class RAGChatService:
|
||||
'content': hit.payload.get('content', ''),
|
||||
'file_path': hit.payload.get('file_path', ''),
|
||||
'header': hit.payload.get('header', ''),
|
||||
'score': hit.score
|
||||
'score': float(hit.score)
|
||||
})
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user