fabnumdef / chatbot-back Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello,
I'm trying to deploy backend of the chatbot. After adding information about my database and do npm install and npm run start:dev got stuck at the the line const app = await NestFactory.create(AppModule); (in file main.ts)
as in the image below:
I've never used Nestjs before and I'm new to backend, did I miss any steps?
Thanks a lot!
Dans Connaissances > supprimer la fonctionnalité "Connaissances liées"
Faire un point d'entrée ou l'on peut savoir:
Protéger via CORS.
App version: latest (b0e8bc0)
PostgreSQL version: 14
Operating System: Debian bullseye (containerized)
Hi, on a brand new setup of a chatbot, when accessing the statistics page on the back office, several API calls are done. They all succeed except for one: /api/stats/kpi_data
.
It returns an HTTP 500, and in the server log the sole error that is outputted is the following.
ERROR [QueryFailedError: division by zero
at PostgresQueryRunner.query (/var/www/chatbot-back/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:211:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SelectQueryBuilder.loadRawResults (/var/www/chatbot-back/node_modules/typeorm/query-builder/SelectQueryBuilder.js:2183:25)
at async SelectQueryBuilder.getRawMany (/var/www/chatbot-back/node_modules/typeorm/query-builder/SelectQueryBuilder.js:645:29)
at async SelectQueryBuilder.getRawOne (/var/www/chatbot-back/node_modules/typeorm/query-builder/SelectQueryBuilder.js:627:17)] division by zero
With debug mode enabled no additional data seems to appear (about the SQL request or else)
DEBUG=*
Is it a known bug?
Are do someone as any idea of where it could come from?
The INTRADEF environment variable defines other configs (mostly security config) at multiple points.
But in an environment other than INTRADEF we may want to use different configs for some modules. For e.g, we maybe would like to use TLS for nodemailer but not for the form. Or even use another rasa binary path.
It would be great to have an independent environment variable for each of those elements. And it would have a default value if the INTRADEF is defined.
Description
Minifier les images quand on les upload.
Côté Fabrique & côté chatbot.
J'ai encore le problème de refresh, à chaque fois que je me connecte au BO https://test.chatbot.fabnum.fr/backoffice.
Je rentre le login + mdp et il ne se passe rien, je suis obligée de faire un CTRL+R
idem une fois que je suis sur le BO, les onglets Configuration, STATS etc sont bloquées.
Je dois faire CTRL+R pour débloquer
Limiter tout les champs char en taille
Se renseigner sur les goods practices sur d'autres projets au niveau de la sécurité au niveau des serveurs.
Endpoint statistique avec comme entrée une date de début & une date de fin.
Si pas de date -> les 30 derniers jours.
Retourner les stats sur cette plage de date.
A voir comment tester les perfs des requêtes SQL.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.