починил нейроконструктор, исправил распознавание сообщений из чата

This commit is contained in:
2026-02-08 17:29:49 +03:00
parent 451ddd9ae0
commit cbb875f3f8
15 changed files with 531 additions and 223 deletions
+3
View File
@@ -13,6 +13,7 @@
#include "neuralnetworkmanager.h"
#include "randommanager.h"
#include "randomresponses.h"
#include "neuraltemplatemanager.h"
class CommandProcessor : public QObject
{
@@ -32,6 +33,7 @@ public:
RandomManager* randomManager = nullptr;
RandomResponses* randomResponses = nullptr;
MediaFileManager* mediaFileManager = nullptr;
NeuralTemplateManager *neuralTemplateManager = nullptr;
QString channel;
int notifyVolume = 50;
};
@@ -61,6 +63,7 @@ private:
QString parseBan(const QString &response, const QString &sender);
QString parseAPI(const QString &response, const QString &sender);
QString parseAI(const QString &response, const QString &question);
QString parseNeuralTemplates(const QString &response, const QString &sender, const QString &parameters);
QString extractParameters(const QString &fullCommand);
QString getUsernameByIndex(QString userIndex) const;