feat: remove core nlu engine

This commit is contained in:
hexastack
2025-01-06 10:30:47 +01:00
parent 06e06a03b9
commit f45e61604e
44 changed files with 0 additions and 2926 deletions

View File

@@ -46,21 +46,6 @@ EMAIL_SMTP_USER=dev_only
EMAIL_SMTP_PASS=dev_only
EMAIL_SMTP_FROM=noreply@example.com
# NLU Server
AUTH_TOKEN=token123
LANGUAGE_CLASSIFIER=language-classifier
INTENT_CLASSIFIERS=en,fr
TFLC_REPO_ID=Hexastack/tflc
INTENT_CLASSIFIER_REPO_ID=Hexastack/intent-classifier
SLOT_FILLER_REPO_ID=Hexastack/slot-filler
NLU_ENGINE_PORT=5000
BERT_MODEL_BY_LANGUAGE_JSON='{
"en": "bert-base-cased",
"fr": "dbmdz/bert-base-french-europeana-cased"
}'
# Huggingface Access token to download private models for NLU inference
HF_AUTH_TOKEN=
# Frontend (Next.js)
NEXT_PUBLIC_API_ORIGIN=http://${APP_DOMAIN}:${API_PORT}/
NEXT_PUBLIC_SSO_ENABLED=false

View File

@@ -1,10 +0,0 @@
version: "3.9"
services:
nlu-api:
build:
context: ../nlu
dockerfile: Dockerfile
pull_policy: build
ports:
- ${NLU_ENGINE_PORT}:5000

View File

@@ -1,30 +0,0 @@
version: "3.9"
services:
api:
networks:
- nlu-network
depends_on:
nlu-api:
condition: service_healthy
nlu-api:
container_name: nlu-api
image: hexastack/hexabot-nlu:latest
env_file: .env
networks:
- nlu-network
volumes:
- nlu-data:/app/repos
healthcheck:
test: curl --fail http://localhost:5000/health || exit 1
interval: 10s
timeout: 10s
retries: 5
start_period: 10s
volumes:
nlu-data:
networks:
nlu-network: