mirror of
				https://github.com/csunny/DB-GPT.git
				synced 2025-11-04 01:17:52 +00:00 
			
		
		
		
	Co-authored-by: Florian <fanzhidongyzby@163.com> Co-authored-by: KingSkyLi <15566300566@163.com> Co-authored-by: aries_ckt <916701291@qq.com> Co-authored-by: Fangyin Cheng <staneyffer@gmail.com> Co-authored-by: yvonneyx <zhuyuxin0627@gmail.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			444 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			444 B
		
	
	
	
		
			Python
		
	
	
	
	
	
"""OpenSPG class."""
 | 
						|
import logging
 | 
						|
 | 
						|
from dbgpt._private.pydantic import ConfigDict
 | 
						|
from dbgpt.storage.knowledge_graph.base import KnowledgeGraphBase, KnowledgeGraphConfig
 | 
						|
 | 
						|
logger = logging.getLogger(__name__)
 | 
						|
 | 
						|
 | 
						|
class OpenSPGConfig(KnowledgeGraphConfig):
 | 
						|
    """OpenSPG config."""
 | 
						|
 | 
						|
    model_config = ConfigDict(arbitrary_types_allowed=True)
 | 
						|
 | 
						|
 | 
						|
class OpenSPG(KnowledgeGraphBase):
 | 
						|
    """OpenSPG class."""
 | 
						|
 | 
						|
    # todo: add OpenSPG implementation
 |