We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f863d9 commit 84dde86Copy full SHA for 84dde86
routes/web.php
@@ -4,9 +4,6 @@
4
use App\Http\Controllers\FileChatDetailsController;
5
use App\Http\Controllers\FileChatStoreController;
6
use App\Http\Controllers\FileController;
7
-use App\Models\File;
8
-use App\Services\Pdf\PdfService;
9
-use Illuminate\Support\Facades\Log;
10
use Illuminate\Support\Facades\Route;
11
use Inertia\Inertia;
12
@@ -28,19 +25,5 @@
28
25
29
26
});
30
27
31
-Route::get('pdf', function () {
32
- $file = File::find(1);
33
-
34
- $pdfService = app(PdfService::class);
35
36
- $documentText = $pdfService->getPdfText($file->path);
37
38
- $chunks = $pdfService->chunkText($documentText);
39
40
- Log::info(count($chunks));
41
42
- dd('live');
43
-});
44
45
require __DIR__.'/settings.php';
46
require __DIR__.'/auth.php';
0 commit comments