Compute RAG index

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

Parametry ścieżki

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

Nagłówki

xi-api-keystringOpcjonalny

Żądanie

This endpoint expects an object.
modelenumWymaganyDomyślnie e5_mistral_7b_instruct
Dozwolone wartości:

Odpowiedź

Successful Response
idstring
modelenumDomyślnie e5_mistral_7b_instruct
Dozwolone wartości:
statusenum
progress_percentagedouble
document_model_index_usageobject

Błędy

422
Document Compute Rag Index Request Unprocessable Entity Error