App

Classes

App(sources: collections.abc.Sequence[~SourceT], indices: collections.abc.Sequence[superlinked.framework.dsl.index.index.Index], vector_database: superlinked.framework.dsl.storage.vector_database.VectorDatabase, context: superlinked.framework.common.dag.context.ExecutionContext) : Abstract base class for an App, a running executor that can, for example, do queries or ingest data.

Initialize the App.
Args:
    sources (list[SourceT]): The list of sources.
    indices (list[Index]): The list of indices.
    vector_database (VectorDatabase): The vector database which the executor will use.
    context (Mapping[str, Mapping[str, Any]]): The context mapping.

### Ancestors (in MRO)

* abc.ABC
* typing.Generic

### Descendants

* superlinked.framework.dsl.app.online.online_app.OnlineApp

### Instance variables

`storage_manager: superlinked.framework.common.storage_manager.storage_manager.StorageManager`
:   Get the storage manager.
    Returns:
        StorageManager: The storage manager instance.

Last updated