Compute RAG index

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

Parámetros de ruta

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

Encabezados

xi-api-keystringOpcional

Solicitud

This endpoint expects an object.
modelenumRequeridoValor predeterminado: e5_mistral_7b_instruct
Valores permitidos:

Respuesta

Successful Response
idstring
modelenumValor predeterminado: e5_mistral_7b_instruct
Valores permitidos:
statusenum
progress_percentagedouble
document_model_index_usageobject

Errores

422
Document Compute Rag Index Request Unprocessable Entity Error