rag

Answer a query using Retrieval-Augmented Generation (RAG)

Changed on
post/rag/rag_session

Request

  • The document declares no server URL.
  • Auth
    OAuth 2
    Password
    Token URL: /authentication/login

Query parameters

project_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

Changes

    • breaking

      added the new required query request parameter project_id

    • warning

      deleted the query request parameter proj_id

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status