await getIntents
This commit is contained in:
parent
34e6b17112
commit
56bf74e1c2
@ -85,7 +85,7 @@ async function embed(text) {
|
||||
async function classifyIntent(text) {
|
||||
const inputEmbedding = await embed(text);
|
||||
|
||||
const INTENTS = getIntents();
|
||||
const INTENTS = await getIntents();
|
||||
|
||||
let best = {
|
||||
name: "unknown",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user