Compute RAG index

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

パスパラメータ

documentation_idstring必須
The id of a document from the knowledge base. This is returned on document addition.

ヘッダー

xi-api-keystringオプション

リクエスト

This endpoint expects an object.
modelenum必須デフォルト値 e5_mistral_7b_instruct
許可された値:

レスポンス

Successful Response
idstring
modelenumデフォルト値 e5_mistral_7b_instruct
許可された値:
statusenum
progress_percentagedouble
document_model_index_usageobject

エラー

422
Document Compute Rag Index Request Unprocessable Entity Error