ai_chatbot.message_skeleton:
  path: '/ajax/chatbot/message-skeleton/{assistant_id}/{thread_id}/{user}'
  defaults:
    _controller: '\Drupal\ai_chatbot\Controller\GetSkeleton::messageSkeleton'
    _format: json
  requirements:
    _permission: 'access content'
ai_chatbot.reset_conversation:
  path: '/ajax/chatbot/reset-session/{assistant_id}/{thread_id}'
  defaults:
    _controller: '\Drupal\ai_chatbot\Controller\ResetSession::resetSession'
    _format: json
  requirements:
    _method: POST
    _permission: 'access content'
ai_chatbot.api:
  path: '/api/deepchat'
  defaults:
    _controller: '\Drupal\ai_chatbot\Controller\DeepChatApi::api'
    _format: json
  requirements:
    _permission: 'access deepchat api'
    _csrf_token: 'TRUE'
    _method: POST
ai_chatbot.session:
  path: '/api/deepchat/session'
  defaults:
    _controller: '\Drupal\ai_chatbot\Controller\DeepChatApi::setSession'
  requirements:
    _permission: 'access deepchat api'
    _method: 'POST'
