a
    •˜ëj×  ã                   @   sŒ   d Z ddlmZmZ ddlmZmZmZ ddlm	Z	 ddl
mZ ddlmZ er\ddlmZ dd	iZe	eed
�Zeedœdd„Zg d¢ZdS )aï  **Indexes**.

**Index** is used to avoid writing duplicated content
into the vectostore and to avoid over-writing content if it's unchanged.

Indexes also :

* Create knowledge graphs from data.

* Support indexing workflows from LangChain data loaders to vectorstores.

Importantly, Index keeps on working even if the content being written is derived
via a set of transformations from some source content (e.g., indexing children
documents that were derived from parent documents by chunking.)
é    )ÚTYPE_CHECKINGÚAny)ÚIndexingResultÚaindexÚindex)Úcreate_importer)ÚSQLRecordManager)ÚVectorstoreIndexCreator)ÚGraphIndexCreatorr
   z(langchain_community.graphs.index_creator)Zdeprecated_lookups)ÚnameÚreturnc                 C   s   t | ƒS )zLook up attributes dynamically.)Ú_import_attribute)r   © r   úY/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/langchain/indexes/__init__.pyÚ__getattr__'   s    r   )r
   r   r   r	   r   r   N)Ú__doc__Útypingr   r   Zlangchain_core.indexing.apir   r   r   Zlangchain._apir   Z%langchain.indexes._sql_record_managerr   Zlangchain.indexes.vectorstorer	   Z(langchain_community.graphs.index_creatorr
   ZDEPRECATED_LOOKUPÚ__package__r   Ústrr   Ú__all__r   r   r   r   Ú<module>   s   ÿ