spacy nlp ner

This commit is contained in:
m
2026-07-12 22:11:57 +02:00
parent 6ed51daa6b
commit 010cb2cb49
22 changed files with 480 additions and 8 deletions
+2
View File
@@ -6,6 +6,7 @@ type Config struct {
Port string
DBPath string
OCREndpoint string
NLPEndpoint string
UploadDir string
HMACSecret string
ServerHost string
@@ -16,6 +17,7 @@ func Load() *Config {
Port: envOr("PORT", "8080"),
DBPath: envOr("DB_PATH", "vaultdrop.db"),
OCREndpoint: envOr("OCR_ENDPOINT", "http://localhost:9090"),
NLPEndpoint: envOr("NLP_ENDPOINT", "http://localhost:9091"),
UploadDir: envOr("UPLOAD_DIR", "./uploads"),
HMACSecret: envOr("HMAC_SECRET", "thisismyrandomstring"),
ServerHost: envOr("SERVER_HOST", "http://192.168.1.17:8080"),