Skip to content

sgns::neoswarm::api::ApiServer::Config

#include <api_server.hpp>

Public Classes

Name
struct ElmEntry

Public Attributes

Name
std::string m_modelPath
std::string m_grammarModelPath
std::string m_mathModelPath
std::string m_reputationDbPath
std::string m_knowledgeFacts
bool m_enableNetwork
bool m_enableKnowledge
int m_grpcPort
std::string m_nodeKeyFile
std::string m_nodeKeyPassphrase
bool m_enableSgProcessing
bool m_sgProcessingNetworkMode
std::string m_sgSdkBasePath
std::vector< ElmEntry > m_elmConfigs

Public Attributes Documentation

variable m_modelPath

std::string m_modelPath;

variable m_grammarModelPath

std::string m_grammarModelPath;

variable m_mathModelPath

std::string m_mathModelPath;

variable m_reputationDbPath

std::string m_reputationDbPath = "./reputation.db";

variable m_knowledgeFacts

std::string m_knowledgeFacts = "";

variable m_enableNetwork

bool m_enableNetwork = false;

variable m_enableKnowledge

bool m_enableKnowledge = true;

variable m_grpcPort

int m_grpcPort = 50051;

variable m_nodeKeyFile

std::string m_nodeKeyFile = "./node.key";

variable m_nodeKeyPassphrase

std::string m_nodeKeyPassphrase = "gnus-neo-swarm-default";

variable m_enableSgProcessing

bool m_enableSgProcessing = false;

variable m_sgProcessingNetworkMode

bool m_sgProcessingNetworkMode = false;

variable m_sgSdkBasePath

std::string m_sgSdkBasePath = "./sdk";

variable m_elmConfigs

std::vector< ElmEntry > m_elmConfigs;

Updated on 2026-10-09 at 03:59:42 +0000