From 3a567d8c85e979e76a7b9f6ec3ccaa38a0bd9f07 Mon Sep 17 00:00:00 2001 From: Jacopo Chevallard Date: Mon, 30 Dec 2024 18:05:15 +0100 Subject: [PATCH] fix: fixing removed entity --- core/quivr_core/rag/quivr_rag_langgraph.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/quivr_core/rag/quivr_rag_langgraph.py b/core/quivr_core/rag/quivr_rag_langgraph.py index 8a2b4257fb38..dd2714ac0a41 100644 --- a/core/quivr_core/rag/quivr_rag_langgraph.py +++ b/core/quivr_core/rag/quivr_rag_langgraph.py @@ -13,7 +13,6 @@ TypedDict, ) from uuid import UUID, uuid4 - import openai from langchain.retrievers import ContextualCompressionRetriever from langchain_cohere import CohereRerank @@ -1009,8 +1008,6 @@ def _extract_node_name(self, event: dict) -> str: if node.name == name: if node.description: return node.description - elif node.label: - return node.label else: return node.name return ""