Skip to content

Commit

Permalink
add clean
Browse files Browse the repository at this point in the history
  • Loading branch information
fanzhidongyzby committed Aug 30, 2024
1 parent ab0b741 commit 87b0495
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/rag/graph_rag_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 87b0495

Please sign in to comment.