diff --git a/examples/rag/graph_rag_example.py b/examples/rag/graph_rag_example.py index 75f6da6ed..40d5b01e3 100644 --- a/examples/rag/graph_rag_example.py +++ b/examples/rag/graph_rag_example.py @@ -126,6 +126,5 @@ async def __run_graph_rag(knowledge_file, chunk_strategy, knowledge_graph, quest # chat print(f"{await ask_chunk(chunks[0], question)}") - except Exception as e: + finally: knowledge_graph.delete_vector_name(knowledge_graph.get_config().name) - raise e