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 caminho

documentation_idstringObrigatório
The id of a document from the knowledge base. This is returned on document addition.

Cabeçalhos

xi-api-keystringOpcional

Solicitação

This endpoint expects an object.
modelenumObrigatórioPadrão é e5_mistral_7b_instruct
Valores permitidos:

Resposta

Successful Response
idstring
modelenumPadrão é e5_mistral_7b_instruct
Valores permitidos:
statusenum
progress_percentagedouble
document_model_index_usageobject

Erros

422
Document Compute Rag Index Request Unprocessable Entity Error