Compute RAG index

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

Pfadparameter

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

Header

xi-api-keystringOptional

Anfrage

This endpoint expects an object.
modelenumErforderlichStandardwert ist e5_mistral_7b_instruct
Erlaubte Werte:

Antwort

Successful Response
idstring
modelenumStandardwert ist e5_mistral_7b_instruct
Erlaubte Werte:
statusenum
progress_percentagedouble
document_model_index_usageobject

Fehler

422
Document Compute Rag Index Request Unprocessable Entity Error