Function chat_controller_create_chat

Source
pub async fn chat_controller_create_chat(
    configuration: &Configuration,
    create_chat_dto: CreateChatDto,
) -> Result<ChatControllerCreateChat200Response, Error<ChatControllerCreateChatError>>
Expand description

Creates a new chat. Requires at least one of: assistantId/assistant, sessionId, or previousChatId. Note: sessionId and previousChatId are mutually exclusive.