<?php

use Illuminate\Support\Facades\Route;

Route::group(['namespace' => 'Api\V1', 'middleware' => 'localization', 'prefix' => 'ai-chat'], function () {
    Route::post('message', 'AiChatController@message');
    Route::post('image-search', 'AiChatController@imageSearch');
    Route::post('sync-products', 'AiChatController@syncProducts');
    Route::post('sync-pages', 'AiChatController@syncPages');
    Route::get('sessions', 'AiChatController@sessions');
    Route::get('logs', 'AiChatController@logs');
    Route::post('feedback', 'AiChatController@feedback');
});
