added NLU v3 functionality with JSON schema validation and error handling in OpenAI service

This commit is contained in:
Lucas Tettamanti
2026-01-14 18:16:59 -03:00
parent 47ba68049f
commit 29fa2d127e
5 changed files with 345 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ export function createApp({ tenantId }) {
const app = express();
app.use(cors());
app.use(express.json({ limit: "1mb" }));
app.use(express.json({ limit: "1mb" }));
// Serve /public as static (UI + webcomponents)
const __filename = fileURLToPath(import.meta.url);