- WikiNEuRal размечает имена (PER), не распознаёт известных личностей - ruBERT размечает адреса (страна, регион, город, улица, дом) - Повышена полнота FIO до 1.000: полные имена клиентов маскируются целиком - Новый набор benchmark-two-model.txt и тесты TwoModelBenchmarkTest, TwoModelCascadeTest
54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
server:
|
|
port: 8080
|
|
address: 0.0.0.0
|
|
max-http-request-header-size: 16KB
|
|
|
|
spring:
|
|
application:
|
|
name: pd-guard-spring
|
|
jackson:
|
|
default-property-inclusion: non_null
|
|
data:
|
|
redis:
|
|
host: localhost
|
|
port: 6379
|
|
timeout: 200ms
|
|
connect-timeout: 200ms
|
|
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: health,metrics,prometheus
|
|
endpoint:
|
|
health:
|
|
probes:
|
|
enabled: true
|
|
prometheus:
|
|
metrics:
|
|
export:
|
|
enabled: true
|
|
|
|
# Список систем-потребителей. Файла нет — работают настройки по умолчанию.
|
|
pdguard:
|
|
systems-file: config/systems.json
|
|
store:
|
|
backend: memory
|
|
max-chars: 134217728
|
|
ttl-minutes: 30
|
|
min-concurrent: 8
|
|
max-concurrent: 2000
|
|
target-latency-ms: 200
|
|
warmup-iterations: 2000
|
|
ner:
|
|
name-engine: off
|
|
name-model: models/wikineural-ner
|
|
address-engine: off
|
|
address-model: models/rubert-ner
|
|
max-candidates: 16
|
|
pool-size: 16
|
|
llm:
|
|
url:
|
|
api-key:
|
|
model: gpt-4o-mini
|
|
timeout-seconds: 20 |