a
    bŠÝgá  ã                   @   s>   d dl mZ d dlmZmZmZ d dlmZ G dd„ dƒZdS )é    )Úabstractmethod)ÚAnyÚDictÚList)ÚGraphDocumentc                   @   s˜   e Zd ZdZeeedœdd„ƒƒZeeeee	f dœdd„ƒƒZ
ei feeeeee	f  dœdd	„ƒZed
dœdd„ƒZedee ed
dœdd„ƒZd
S )Ú
GraphStorez$Abstract class for graph operations.)Úreturnc                 C   s   dS ©z'Return the schema of the Graph databaseN© ©Úselfr
   r
   út/var/www/html/cobodadashboardai.evdpl.com/venv/lib/python3.9/site-packages/langchain_community/graphs/graph_store.pyÚ
get_schema
   s    zGraphStore.get_schemac                 C   s   dS r	   r
   r   r
   r
   r   Úget_structured_schema   s    z GraphStore.get_structured_schema)ÚqueryÚparamsr   c                 C   s   dS )zQuery the graph.Nr
   )r   r   r   r
   r
   r   r      s    zGraphStore.queryNc                 C   s   dS )z%Refresh the graph schema information.Nr
   r   r
   r
   r   Úrefresh_schema   s    zGraphStore.refresh_schemaF)Úgraph_documentsÚinclude_sourcer   c                 C   s   dS )z<Take GraphDocument as input as uses it to construct a graph.Nr
   )r   r   r   r
   r
   r   Úadd_graph_documents    s    zGraphStore.add_graph_documents)F)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úpropertyr   Ústrr   r   r   r   Údictr   r   r   r   Úboolr   r
   r
   r
   r   r      s"   $ ÿþr   N)	Úabcr   Útypingr   r   r   Z)langchain_community.graphs.graph_documentr   r   r
   r
   r
   r   Ú<module>   s   