await getIntents

This commit is contained in:
Apher 2026-07-08 01:34:40 +00:00
parent 34e6b17112
commit 56bf74e1c2

View File

@ -85,7 +85,7 @@ async function embed(text) {
async function classifyIntent(text) { async function classifyIntent(text) {
const inputEmbedding = await embed(text); const inputEmbedding = await embed(text);
const INTENTS = getIntents(); const INTENTS = await getIntents();
let best = { let best = {
name: "unknown", name: "unknown",