Remove unused elements
This commit is contained in:
parent
56bf74e1c2
commit
64f84f3d8a
17
,env
Normal file
17
,env
Normal 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
|
||||
@ -8,4 +8,3 @@ coverage
|
||||
.cache
|
||||
*.log
|
||||
.git
|
||||
src/models/transformers/*
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,2 @@
|
||||
.env
|
||||
node_modules/
|
||||
src/models/transformers/*
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user