v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01228315499.3 KB
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