
    Fd                     x    d dl mZ d dlmZ ddlmZmZ ddlmZ	 ddl
mZ ddlmZ dd	gZd
ede	fdZd Zg dZdS )    )Config)logger   )
MemoryItemMemoryItemRelevance)VectorMemoryProvider)JSONFileMemory)NoMemory	json_file	no_memoryconfigreturnc                 p   d }| j         xdk    r t          |           }nxdk    r t          d          xdk    r t          d          xdk    r t          d          xdk    r t          d	          d
k    rt                      }n	 t	          d| j          d          |t          |           }|S )Nr   pineconea  The Pinecone memory backend has been rendered incompatible by work on the memory system, and was removed. Whether support will be added back in the future is subject to discussion, feel free to pitch in: https://github.com/Significant-Gravitas/Auto-GPT/discussions/4280rediszwThe Redis memory backend has been rendered incompatible by work on the memory system, and has been removed temporarily.weaviatea  The Weaviate memory backend has been rendered incompatible by work on the memory system, and was removed. Whether support will be added back in the future is subject to discussion, feel free to pitch in: https://github.com/Significant-Gravitas/Auto-GPT/discussions/4280milvusa  The Milvus memory backend has been rendered incompatible by work on the memory system, and was removed. Whether support will be added back in the future is subject to discussion, feel free to pitch in: https://github.com/Significant-Gravitas/Auto-GPT/discussions/4280r   zUnknown memory backend 'z'. Please check your config.)memory_backendr	   NotImplementedErrorr
   
ValueError)r   memorys     RC:\Users\Administrator\Downloads\Auto-GPT-master\autogpt\memory\vector\__init__.py
get_memoryr   *   s   F

[[[[#F++F+ZZZZ%T    WWWW%G   ZZZZ%T   XXXX%T   [[ZZF^6+@^^^   ~''M    c                      t           S )N)supported_memory r   r   get_supported_memory_backendsr   {   s    r   )r   r   r   r	   r
   VectorMemoryN)autogpt.configr   autogpt.logsr   memory_itemr   r   providers.baser   r   providers.json_filer	   providers.no_memoryr
   r   r   r   __all__r   r   r   <module>r'      s    ! ! ! ! ! !       8 8 8 8 8 8 8 8 @ @ @ @ @ @ / / / / / / ) ) ) ) ) )  - >Nv N, N N N Nb    r   