initialize
abstract suspend fun initialize(dataProvider: DataProvider, documentIdentifiers: DocumentIdentifiers, withSessionHistory: Boolean = true)
Initializes the assistant with the given data.
Parameters
data Provider
The data provider for the document.
document Identifiers
The document identifiers.
with Session History
A flag to indicate if the session history should be included in the response.
This methods includes all the necessary steps to initialize the assistant.
checkIfDocumentIsAlreadyIngested
ingestDocument
initializeSocketConnection
getSessionHistory