починил нейроконструктор, исправил распознавание сообщений из чата
This commit is contained in:
@@ -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 ¶meters);
|
||||
|
||||
QString extractParameters(const QString &fullCommand);
|
||||
QString getUsernameByIndex(QString userIndex) const;
|
||||
|
||||
Reference in New Issue
Block a user