Files
pgvecterAPI/pgvecter-api.service
president 277d152f9c Add collection management and upsert functionality to pgvecter API
- Enhanced `main.go` with new types and handlers for managing collections and upserting documents, including validation and error handling.
- Updated `openapi.yaml` to define new endpoints for listing collections and admin access.
- Introduced `CollectionsResponse` and `CollectionItem` schemas for API responses.
- Added a new migration script to include a `collection` column in the `kb_doc_chunks` table.
- Expanded `README.md` with usage examples for the new collection features and environment variable configurations.
2026-02-06 17:44:23 +09:00

17 lines
299 B
Desktop File

[Unit]
Description=pgvecter API
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/pgvecterAPI
EnvironmentFile=/opt/pgvecterAPI/.env
ExecStart=/opt/pgvecterAPI/pgvecter-api
Restart=always
RestartSec=3
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target