Remove unused elements

This commit is contained in:
Apher 2026-07-10 01:29:38 +00:00
parent 56bf74e1c2
commit 64f84f3d8a
4 changed files with 19 additions and 19 deletions

17
,env Normal file
View File

@ -0,0 +1,17 @@
FORCE_DB_SYNC=false
NODE_ENV=development
PORT=45500
DEVICE_ID=lenowo
# Redis
REDIS_HOST=192.168.50.153
REDIS_PORT=25001
# Postgres
PG_USER=mtf
PG_HOST=192.168.50.153
PG_DB=mtf
PG_PASS=GL2.mtf123
PG_PORT=25002
NLP_TRANSFORMER=all-MiniLM-L6-v2

View File

@ -7,5 +7,4 @@ npm-debug.log
coverage
.cache
*.log
.git
src/models/transformers/*
.git

3
.gitignore vendored
View File

@ -1,3 +1,2 @@
.env
node_modules/
src/models/transformers/*
node_modules/

View File

@ -25,21 +25,6 @@ async function getIntents() {
const config = require("./config");
/*const INTENTS = [
{
name: "play_music",
examples: ["play music", "start music", "resume music", "play songs"],
},
{
name: "stop_music",
examples: ["stop music", "pause music", "halt music", "stop playback"],
},
{
name: "set_volume",
examples: ["set volume to 30", "volume 50", "turn volume up", "turn volume down"],
},
];*/
let extractor;
function normalizeText(text) {