Skip to content

Commit

Permalink
Refactor of the tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasilije1990 committed Aug 8, 2024
1 parent 85160da commit 156c7be
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
async def source_documents_to_chunks(documents: list[Document], parent_node_id: str = None, user:str=None, user_permissions:str=None):
graph_engine = await get_graph_engine()

if parent_node_id is None:
documents, parent_node_id = documents


nodes = []
edges = []

Expand Down

0 comments on commit 156c7be

Please sign in to comment.