Function create_message

Source
pub async fn create_message(
    configuration: &Configuration,
    tr_dataset: &str,
    create_message_req_payload: CreateMessageReqPayload,
) -> Result<String, Error<CreateMessageError>>
Expand description

Create message. Messages are attached to topics in order to coordinate memory of gen-AI chat sessions.Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.