Skip to content

Commit 58d7549

Browse files
committed
Update README
1 parent 014f3eb commit 58d7549

1 file changed

Lines changed: 132 additions & 31 deletions

File tree

README.md

Lines changed: 132 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -143,37 +143,138 @@ echo '{"data": [...], "query": "search term", "limit": 5}' | python3 scripts/ai_
143143
## Project Structure
144144

145145
```
146-
laravel-ai-search/
147-
├── app/
148-
│ ├── Http/Controllers/
149-
│ │ ├── SearchController.php # Search API controller
150-
│ │ └── DataController.php # Data management controller
151-
│ └── Models/
152-
│ └── Document.php # Document model
153-
├── database/
154-
│ └── migrations/
155-
│ └── create_documents_table.php
156-
├── resources/
157-
│ ├── js/
158-
│ │ ├── components/
159-
│ │ │ ├── Dashboard.vue # Main dashboard
160-
│ │ │ ├── SearchComponent.vue # Search interface
161-
│ │ │ ├── DataFeedComponent.vue # Data input form
162-
│ │ │ └── DocumentList.vue # Document list view
163-
│ │ ├── types/
164-
│ │ │ └── index.ts # TypeScript definitions
165-
│ │ ├── app.ts # Vue app entry point
166-
│ │ └── style.css # Global styles
167-
│ └── views/
168-
│ └── app.blade.php # Main HTML template
169-
├── routes/
170-
│ ├── api.php # API routes
171-
│ └── web.php # Web routes
172-
├── scripts/
173-
│ └── ai_search_api.py # Enhanced Python search script
174-
├── vite.config.ts # Vite configuration
175-
├── tsconfig.json # TypeScript configuration
176-
└── package.json # Node dependencies
146+
kepler/
147+
├── ai/
148+
│ └── ai_search.py # AI search implementation
149+
150+
├── www/ # Main Laravel application
151+
│ ├── app/
152+
│ │ ├── Actions/
153+
│ │ │ └── Fortify/ # Authentication actions
154+
│ │ ├── Console/
155+
│ │ │ ├── Commands/
156+
│ │ │ │ └── SearchStats.php # Search statistics command
157+
│ │ │ └── Kernel.php
158+
│ │ ├── Exceptions/
159+
│ │ │ └── Handler.php
160+
│ │ ├── Http/
161+
│ │ │ ├── Controllers/
162+
│ │ │ │ ├── Controller.php
163+
│ │ │ │ ├── DataController.php # Document CRUD & bulk upload
164+
│ │ │ │ ├── SearchController.php # AI search API
165+
│ │ │ │ └── Settings/ # User settings controllers
166+
│ │ │ ├── Middleware/ # HTTP middleware
167+
│ │ │ ├── Requests/
168+
│ │ │ │ └── Settings/ # Form requests
169+
│ │ │ └── Kernel.php
170+
│ │ ├── Models/
171+
│ │ │ ├── Document.php # Document model with folder path
172+
│ │ │ └── User.php # User model with 2FA
173+
│ │ ├── Providers/
174+
│ │ │ ├── AppServiceProvider.php
175+
│ │ │ ├── FortifyServiceProvider.php
176+
│ │ │ └── RouteServiceProvider.php
177+
│ │ └── Services/
178+
│ │ └── FileProcessingService.php # File parsing service
179+
│ │
180+
│ ├── config/
181+
│ │ ├── aisearch.php # AI search configuration
182+
│ │ ├── app.php
183+
│ │ ├── auth.php
184+
│ │ ├── database.php
185+
│ │ ├── fortify.php
186+
│ │ └── inertia.php
187+
│ │
188+
│ ├── database/
189+
│ │ ├── migrations/
190+
│ │ │ ├── create_users_table.php
191+
│ │ │ ├── create_documents_table.php
192+
│ │ │ ├── add_two_factor_columns_to_users_table.php
193+
│ │ │ └── add_path_to_documents_table.php
194+
│ │ ├── factories/
195+
│ │ └── seeders/
196+
│ │
197+
│ ├── docs/
198+
│ │ ├── ARCHITECTURE.md # System architecture
199+
│ │ ├── BULK_UPLOAD_GUIDE.md # Bulk upload documentation
200+
│ │ ├── BULK_UPLOAD_QUICKSTART.md # Quick start guide
201+
│ │ ├── DOCUMENTATION_INDEX.md # Documentation index
202+
│ │ ├── FOLDER_TREE_FEATURE.md # Folder tree documentation
203+
│ │ ├── INSTALLATION_GUIDE.md # Installation guide
204+
│ │ ├── PROJECT_SUMMARY.md # Project summary
205+
│ │ ├── QUICKSTART.md # Quick start
206+
│ │ ├── README_BULK_UPLOAD.md # Bulk upload README
207+
│ │ └── VISUAL_GUIDE.md # Visual guide
208+
│ │
209+
│ ├── resources/
210+
│ │ ├── css/
211+
│ │ │ └── app.css
212+
│ │ ├── js/
213+
│ │ │ ├── actions/ # Auto-generated Wayfinder actions
214+
│ │ │ ├── components/
215+
│ │ │ │ ├── AlertError.vue
216+
│ │ │ │ ├── AppContent.vue
217+
│ │ │ │ ├── AppHeader.vue
218+
│ │ │ │ ├── AppLogo.vue
219+
│ │ │ │ ├── AppShell.vue
220+
│ │ │ │ ├── AppSidebar.vue
221+
│ │ │ │ ├── BulkUploadComponent.vue # Bulk upload interface
222+
│ │ │ │ ├── Dashboard.vue # Main dashboard
223+
│ │ │ │ ├── DataFeedComponent.vue # Data input form
224+
│ │ │ │ ├── DocumentCard.vue
225+
│ │ │ │ ├── DocumentList.vue # Document list
226+
│ │ │ │ ├── FolderTree.vue # Folder navigation
227+
│ │ │ │ ├── SearchComponent.vue # Search interface
228+
│ │ │ │ ├── TwoFactorSetupModal.vue # 2FA setup
229+
│ │ │ │ └── ui/ # shadcn/ui components
230+
│ │ │ ├── composables/ # Vue composables
231+
│ │ │ ├── layouts/ # Page layouts
232+
│ │ │ │ ├── AppLayout.vue
233+
│ │ │ │ ├── AuthLayout.vue
234+
│ │ │ │ └── settings/
235+
│ │ │ ├── lib/
236+
│ │ │ │ └── utils.ts
237+
│ │ │ ├── pages/
238+
│ │ │ │ ├── auth/ # Authentication pages
239+
│ │ │ │ ├── settings/ # User settings pages
240+
│ │ │ │ ├── Dashboard.vue
241+
│ │ │ │ ├── DocumentShow.vue
242+
│ │ │ │ └── Welcome.vue
243+
│ │ │ ├── routes/ # Wayfinder routes
244+
│ │ │ ├── types/ # TypeScript definitions
245+
│ │ │ ├── wayfinder/ # Wayfinder config
246+
│ │ │ ├── app.ts # Vue app entry
247+
│ │ │ └── ssr.ts # SSR entry
248+
│ │ └── views/
249+
│ │ └── app.blade.php
250+
│ │
251+
│ ├── routes/
252+
│ │ ├── api.php # API routes
253+
│ │ ├── console.php # Console routes
254+
│ │ ├── settings.php # Settings routes
255+
│ │ └── web.php # Web routes
256+
│ │
257+
│ ├── scripts/
258+
│ │ └── ai_search_api.py # Python AI search script
259+
│ │
260+
│ ├── storage/
261+
│ │ ├── app/
262+
│ │ │ ├── public/
263+
│ │ │ └── uploads/ # Uploaded files
264+
│ │ ├── framework/
265+
│ │ └── logs/
266+
│ │
267+
│ ├── tests/
268+
│ │ ├── Feature/
269+
│ │ ├── Unit/
270+
│ │ └── Pest.php
271+
│ │
272+
│ ├── composer.json # PHP dependencies
273+
│ ├── package.json # Node dependencies
274+
│ ├── vite.config.ts # Vite configuration
275+
│ ├── tsconfig.json # TypeScript configuration
276+
│ ├── components.json # shadcn/ui config
277+
│ └── README.md # This file
177278
```
178279

179280
## Development

0 commit comments

Comments
 (0)