Function get_all_topic_messages

Source
pub async fn get_all_topic_messages(
    configuration: &Configuration,
    tr_dataset: &str,
    messages_topic_id: &str,
) -> Result<Vec<Message>, Error<GetAllTopicMessagesError>>
Expand description

Get all messages for a given topic. If the topic is a RAG topic then the response will include Chunks first on each message. The structure will look like [chunks]||mesage. See docs.trieve.ai for more information.