Chunk
RAG on Specified Chunks
This endpoint exists as an alternative to the topic+message resource pattern where our Trieve handles chat memory. With this endpoint, the user is responsible for providing the context window and the prompt and the conversation is ephemeral.
POST
Authorizations
Headers
The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.
Body
application/json
JSON request payload to perform RAG on some chunks (chunks)
The body is of type object
.
Response
200
text/plain
This will be a JSON response of a string containing the LLM's generated inference. Response if not streaming.
The response is of type string
.