File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1+ from dataclasses import dataclass
12from typing import Generic , TypeVar , Union
23
34T = TypeVar ("T" )
45
56
7+ @dataclass
68class StorageNameSpace :
7- def __init__ (self , working_dir : str = None , namespace : str = None ):
8- self .working_dir = working_dir
9- self .namespace = namespace
9+ working_dir : str = None
10+ namespace : str = None
1011
1112 async def index_done_callback (self ):
1213 """commit the storage operations after indexing"""
Original file line number Diff line number Diff line change 22from collections import defaultdict
33from typing import Dict , List , Tuple
44
5- from graphgen .bases import BaseLLMClient , Chunk
5+ from graphgen .bases import Chunk
66from graphgen .templates import MMKG_EXTRACTION_PROMPT
77from graphgen .utils import (
88 detect_main_language ,
You can’t perform that action at this time.
0 commit comments