Add LLM input logging and UI log pane
- Add log_queue to PipelineOrchestrator and log LLM inputs to UI - Use entity_name for lore update logs instead of topic - Pass log_queue into ConfirmationApp to display logs in UI - Introduce a log pane and left/right pane layout in the UI - Poll and render log messages via a new poll_log_updates worker - Run log polling with Textual workers to avoid GC issues - Fix ListView insertion by wrapping ListItem in a list - Relax RAG similarity threshold from 0.7 to 0.5
This commit is contained in:
+1
-1
@@ -162,7 +162,7 @@ class RAGManager:
|
||||
nodes = retriever.retrieve(query)
|
||||
|
||||
# Filter nodes by similarity score (threshold > 0.7)
|
||||
nodes = [node for node in nodes if node.score >= 0.7]
|
||||
nodes = [node for node in nodes if node.score >= 0.5]
|
||||
|
||||
if summarize:
|
||||
return self.summarize_results(query, nodes)
|
||||
|
||||
Reference in New Issue
Block a user