pub async fn regenerate_message(
configuration: &Configuration,
tr_dataset: &str,
regenerate_message_req_payload: RegenerateMessageReqPayload,
) -> Result<String, Error<RegenerateMessageError>>
Expand description
Regenerate the assistant response to the last user message of a topic. This will delete the last message and replace it with a new message. The response will include Chunks first on the stream if the topic is using RAG. The structure will look like [chunks]||mesage
. See docs.trieve.ai for more information. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.