Function generate_off_chunks

Source
pub async fn generate_off_chunks(
    configuration: &Configuration,
    tr_dataset: &str,
    generate_off_chunks_req_payload: GenerateOffChunksReqPayload,
) -> Result<String, Error<GenerateOffChunksError>>
Expand description

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.