Remove accidental file and make confidence threshold higher
This commit is contained in:
parent
64f84f3d8a
commit
19afd2f350
17
,env
17
,env
@ -1,17 +0,0 @@
|
|||||||
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
|
|
||||||
@ -74,7 +74,7 @@ async function classifyIntent(text) {
|
|||||||
|
|
||||||
let best = {
|
let best = {
|
||||||
name: "unknown",
|
name: "unknown",
|
||||||
confidence: 0,
|
confidence: 0.5,
|
||||||
matched: null,
|
matched: null,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user