ingestDocument

abstract suspend fun ingestDocument(dataProvider: DataProvider, jwt: String): AiAssistantRemoteClient.AiAssistantResponse<IngestionResponse>

Ingests a document by uploading it to the server.

Return

The result of the ingestion operation.

Parameters

dataProvider

The data provider for the document.

jwt

The JWT token for authentication.