class deeplake.core.vectorstore.deep_memory.DeepMemory
__init__(dataset: Dataset, path: Union[str, Path], logger: Logger, embedding_function: Optional[Any] = None, token: Optional[str] = None, creds: Optional[Union[Dict, str]] = None)

Based Deep Memory class to train and evaluate models on DeepMemory managed service.

  • dataset (Dataset) – deeplake dataset object or path.

  • path (Union[str, pathlib.Path]) – Path to the dataset.

  • logger (logging.Logger) – Logger object.

  • embedding_function (Optional[Any], optional) – Embedding funtion class used to convert queries/documents to embeddings. Defaults to None.

  • token (Optional[str], optional) – API token for the DeepMemory managed service. Defaults to None.

  • creds (Optional[Dict[str, Any]], optional) – Credentials to access the dataset. Defaults to None.


ImportError – if indra is not installed