Compute RAG index

In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns the current status.

Paramètres de chemin

documentation_idstringRequis
The id of a document from the knowledge base. This is returned on document addition.

En-têtes

xi-api-keystringOptionnel

Requête

This endpoint expects an object.
modelenumRequisPar défaut e5_mistral_7b_instruct
Valeurs autorisées:

Réponse

Successful Response
idstring
modelenumPar défaut e5_mistral_7b_instruct
Valeurs autorisées:
statusenum
progress_percentagedouble
document_model_index_usageobject

Erreurs

422
Document Compute Rag Index Request Unprocessable Entity Error