diff --git a/htdocs/ai/README.md b/htdocs/ai/README.md index e0f33ef5f69..b25be05f570 100644 --- a/htdocs/ai/README.md +++ b/htdocs/ai/README.md @@ -2,8 +2,9 @@ ## Features -Provides an api key for chatchpt for use it in other modules +Provides AI (Artificial Intelligence) features in different part of the application. Need external AI API. +## Licenses ### Main code diff --git a/htdocs/core/modules/modAi.class.php b/htdocs/core/modules/modAi.class.php index b2546e2553d..8d4304489a1 100644 --- a/htdocs/core/modules/modAi.class.php +++ b/htdocs/core/modules/modAi.class.php @@ -39,7 +39,7 @@ class modAi extends DolibarrModules */ public function __construct($db) { - global $langs, $conf; + global $conf; $this->db = $db; @@ -52,7 +52,7 @@ class modAi extends DolibarrModules // Family can be 'base' (core modules),'crm','financial','hr','projects','products','ecm','technic' (transverse modules),'interface' (link with external tools),'other','...' // It is used to group modules by family in module setup page - $this->family = "mailings"; + $this->family = "technic"; // Module position in the family on 2 digits ('01', '10', '20', ...) $this->module_position = '50'; @@ -65,7 +65,7 @@ class modAi extends DolibarrModules // Module description, used if translation string 'ModuleAiDesc' not found (Ai is name of module). $this->description = "AiDescription"; // Used only if file README.md and README-LL.md not found. - $this->descriptionlong = "AiDescription"; + $this->descriptionlong = "AiDescriptionLong"; // Possible values for version are: 'development', 'experimental', 'dolibarr', 'dolibarr_deprecated' or a version string like 'x.y.z' $this->version = 'development'; diff --git a/htdocs/core/modules/modModuleBuilder.class.php b/htdocs/core/modules/modModuleBuilder.class.php index 8e1fa8bac06..8ca370bc2e4 100644 --- a/htdocs/core/modules/modModuleBuilder.class.php +++ b/htdocs/core/modules/modModuleBuilder.class.php @@ -19,12 +19,13 @@ /** * \defgroup modulebuilder Module ModuleBuilder * \brief Add a log into a block chain for some actions. - * \file htdocs/core/modules/modBlockedLog.class.php - * \ingroup blockedlog + * \file htdocs/core/modules/modModuleBuilder.class.php + * \ingroup modulebuilder * \brief Description and activation file for the module ModuleBuilder */ include_once DOL_DOCUMENT_ROOT.'/core/modules/DolibarrModules.class.php'; + /** * Class to describe a ModuleBuilder module */ diff --git a/htdocs/langs/en_US/ai.lang b/htdocs/langs/en_US/ai.lang index 5f685967132..287e652b7ec 100644 --- a/htdocs/langs/en_US/ai.lang +++ b/htdocs/langs/en_US/ai.lang @@ -1 +1,3 @@ +AiDescription=AI (Artificial Intelligence) features +AiDescriptionLong=Provides AI (Artificial Intelligence) features in different part of the application. Need external AI API. AI_KEY_API_CHATGPT= Key for IA api \ No newline at end of file