your name 9244899f9b feat: Enhance Support Reply Service with tone instructions and article details
- Added tone instruction retrieval to SupportReplyService.
- Improved user feedback when no relevant article is found.
- Included article URL and tone instruction in LLM prompt.
- Updated response format to include source information.
- Enhanced article management UI with search functionality and editing capabilities.
- Introduced a new API endpoint for nearest articles based on vector search.
- Added confidence badge component to display article confidence levels.
- Implemented tests for article searching, editing, and nearest article API.
- Removed obsolete .htaccess file.
2026-05-13 22:25:45 +02:00
2026-04-28 17:28:33 +00:00
2026-04-28 17:28:33 +00:00
2026-04-28 17:28:33 +00:00
2026-04-28 17:28:33 +00:00
2026-04-28 17:28:33 +00:00
2026-04-28 17:28:33 +00:00
2026-04-28 17:28:33 +00:00
2026-04-28 17:28:33 +00:00
2026-04-28 17:28:33 +00:00
2026-04-28 17:28:33 +00:00

TicketAssistant (Laravel 13 + pgvector + external Ollama)

AI-powered customer support ticket system using semantic retrieval + LLM re-ranking.

Requirements

  • Docker Desktop
  • Docker Compose v2
  • Ollama running on a reachable network server

Quick Start (Docker)

  1. Create environment file
cp .env.docker.example .env
  1. Set the external Ollama URL in .env
OLLAMA_BASE_URL=http://<OLLAMA_SERVER_IP_OR_HOSTNAME>:11434
  1. Build and start containers
docker compose up -d --build
  1. Install PHP dependencies in app container
docker compose exec app composer install
  1. Generate app key and run database setup
docker compose exec app php artisan key:generate
docker compose exec app php artisan migrate --seed

API base URL: http://localhost:8090/api Admin dashboard: http://localhost:8090/admin/dashboard

Admin Dashboard (Blade + Livewire)

  • /admin/dashboard: KPI cards + recente tickets + recente AI decisions
  • /admin/articles: artikel aanmaken + artikeloverzicht
  • /admin/tickets: tickets met AI-classificatie-overzicht

Business logic is isolated in service classes:

  • App\Services\AdminDashboardService
  • App\Services\AdminArticleService
  • App\Services\AdminTicketService

Services

  • web: Nginx (public endpoint)
  • app: PHP-FPM Laravel runtime
  • worker: queue worker for async jobs
  • postgres: PostgreSQL 17 + pgvector

Notes

  • No external AI APIs are used.
  • Ollama runs outside Docker on your network.
  • Set QUEUE_EMBEDDINGS=true for async article embedding generation.

Helpdesk Scraper Command

Importeer artikelen vanaf InternetToday Helpdesk (categorieen + subcategorieen):

docker compose exec app php artisan helpdesk:import

Opties:

# test zonder schrijven
docker compose exec app php artisan helpdesk:import --dry-run

# verwerk alleen eerste N artikelen
docker compose exec app php artisan helpdesk:import --limit=25

# custom base-url
docker compose exec app php artisan helpdesk:import --base-url=https://www.internettoday.nl/helpdesk
Description
No description provided
Readme 265 KiB
Languages
PHP 57%
Blade 42.7%
JavaScript 0.1%