latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-12228323518.0 KB

317c09850114

rag

Answer a query using Retrieval-Augmented Generation (RAG)

post/rag/rag_session

Query parameters

proj_idinteger required
top_kinteger required
thresholdnumber required
modelstring required
session_idstring nullable

Request body

sdoc_idsinteger[] nullable required

Response

Successful Response

responsestring required

The response of the model

session_idstring required

The session ID of the chat