diff --git a/src/server.js b/src/server.js index ce38fdc..0a3db04 100644 --- a/src/server.js +++ b/src/server.js @@ -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",