Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ vendor/
_build/migrations/migrations.lock
_build/gpm_scripts
_build/gpm_resolvers
copilot-instructions.md
AGENTS.md
10 changes: 10 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# modAI
Practical and highly-configurable AI for [MODX Revolution](https://modx.com/content-management-framework)

### Todo

- [ ] Review vision/image language strings and defaults before release (setting_modai.global.image.model_desc, setting_modai.global.vision.model_desc, setting_modai.global.image.style_desc)

### Done ✓

- [x] Create TODO.md
33 changes: 16 additions & 17 deletions core/components/modai/lexicon/en/default.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@

$_lang['modai.admin.context_provider.name'] = 'Name';
$_lang['modai.admin.context_provider.description'] = 'Description';
$_lang['modai.admin.context_provider.description_desc'] = 'Internal description of the context provider.';
$_lang['modai.admin.context_provider.description_desc'] = 'Internal description of the Context Provider.';
$_lang['modai.admin.context_provider.enabled'] = 'Enabled';
$_lang['modai.admin.context_provider.enabled_desc'] = 'If disabled, context provider won\'t augument the prompt.';
$_lang['modai.admin.context_provider.enabled_desc'] = 'If disabled, this provider won’t add relevant information from your content to the AI prompt.';
$_lang['modai.admin.context_provider.create'] = 'Create Context Provider';
$_lang['modai.admin.context_provider.update'] = 'Update Context Provider';
$_lang['modai.admin.context_provider.remove'] = 'Remove Context Provider';
$_lang['modai.admin.context_provider.remove_confirm'] = 'Are you sure you want to permanently delete "[[+name]]" context provider?';
$_lang['modai.admin.context_provider.remove_confirm'] = 'Are you sure you want to permanently delete the “[[+name]] context provider?';
$_lang['modai.admin.context_provider.search'] = 'Search by name';
$_lang['modai.admin.context_provider.select_class_for_config'] = 'Select Context Provider Class to configure it.';
$_lang['modai.admin.context_provider.no_config'] = "Context Provider Class doesn't expose any configuration.";
$_lang['modai.admin.context_provider.select_class_for_config'] = 'Choose which type of content provider you want to use, then configure it below.';
$_lang['modai.admin.context_provider.no_config'] = 'This type of content provider doesn’t have any settings to customize.';
$_lang['modai.admin.context_provider.config'] = "Config";
$_lang['modai.admin.context_provider.context_provider'] = "Context Provider";
$_lang['modai.admin.context_provider.class'] = "Context Provider Class";
Expand All @@ -33,31 +33,31 @@
$_lang['modai.admin.tool.description'] = 'Description';
$_lang['modai.admin.tool.description_desc'] = 'Internal description of the tool.';
$_lang['modai.admin.tool.enabled'] = 'Enabled';
$_lang['modai.admin.tool.enabled_desc'] = 'If disabled, tool won\'t be available for the model.';
$_lang['modai.admin.tool.enabled_desc'] = 'If disabled, this tool wont be available for the AI to use.';
$_lang['modai.admin.tool.default'] = 'Default';
$_lang['modai.admin.tool.default_desc'] = 'If enabled, tool will be available for every prompt, even without an agent.';
$_lang['modai.admin.tool.default_desc'] = 'If enabled, this tool will be available for all prompts, even if you haven’t selected a specific agent.';
$_lang['modai.admin.tool.create'] = 'Create Tool';
$_lang['modai.admin.tool.update'] = 'Update Tool';
$_lang['modai.admin.tool.remove'] = 'Remove Tool';
$_lang['modai.admin.tool.remove_confirm'] = 'Are you sure you want to permanently delete "[[+name]]" tool?';
$_lang['modai.admin.tool.search'] = 'Search by name';
$_lang['modai.admin.tool.select_class_for_config'] = 'Select Tool Class to configure it.';
$_lang['modai.admin.tool.no_config'] = "Tool Class doesn't expose any configuration.";
$_lang['modai.admin.tool.select_class_for_config'] = 'Choose which type of tool you want to use, then configure it below.';
$_lang['modai.admin.tool.no_config'] = 'This type of tool doesn’t have any settings to customize.';
$_lang['modai.admin.tool.config'] = "Config";
$_lang['modai.admin.tool.context_provider'] = "Tool";
$_lang['modai.admin.tool.class'] = "Tool Class";
$_lang['modai.admin.tool.tool'] = 'Tool';
$_lang['modai.admin.tool.agents'] = 'Agents';
$_lang['modai.admin.tool.prompt'] = 'Prompt';
$_lang['modai.admin.tool.prompt_desc'] = 'Description of the tool to the AI. By default it uses the default from the tool\'s class, but you can override it and customize.';
$_lang['modai.admin.tool.prompt_desc'] = 'Description that tells the AI what this tool does and how to use it. You can override the default description and customize it for your needs.';

$_lang['modai.admin.tool.config.clear_cache'] = 'Clear Cache';
$_lang['modai.admin.tool.config.clear_cache_desc'] = 'If enabled, cache will automatically clear after using this tool.';

$_lang['modai.admin.agent.name'] = 'Name';
$_lang['modai.admin.agent.description'] = 'Description';
$_lang['modai.admin.agent.enabled'] = 'Enabled';
$_lang['modai.admin.agent.enabled_desc'] = 'If disabled, agent won\'t show up in the agent select.';
$_lang['modai.admin.agent.enabled_desc'] = 'If disabled, this agent won’t appear in the list of available AI assistants.';
$_lang['modai.admin.agent.create'] = 'Create Agent';
$_lang['modai.admin.agent.update'] = 'Update Agent';
$_lang['modai.admin.agent.remove'] = 'Remove Agent';
Expand All @@ -69,11 +69,11 @@
$_lang['modai.admin.agent.description'] = "Description";
$_lang['modai.admin.agent.config'] = "Config";
$_lang['modai.admin.agent.prompt'] = "Prompt";
$_lang['modai.admin.agent.prompt_desc'] = 'Custom prompt that will send as a system instructions.';
$_lang['modai.admin.agent.prompt_desc'] = 'Instructions that guide this AI assistant on how to behave and respond. You can customize this to change the assistant’s personality or focus.';
$_lang['modai.admin.agent.tools'] = 'Tools';
$_lang['modai.admin.agent.context_providers'] = 'Context Providers';
$_lang['modai.admin.agent.advanced_config'] = 'Advanced Config';
$_lang['modai.admin.agent.advanced_config_desc'] = 'Override any model\'s config option.';
$_lang['modai.admin.agent.advanced_config_desc'] = 'Override the model’s default settings to customize AI behavior for this specific agent.';
$_lang['modai.admin.agent.advanced_config.field'] = 'Field';
$_lang['modai.admin.agent.advanced_config.area'] = 'Area';
$_lang['modai.admin.agent.advanced_config.setting'] = 'Setting';
Expand Down Expand Up @@ -117,12 +117,11 @@
$_lang['modai.admin.context_provider.pinecone.api_version'] = 'API Version';
$_lang['modai.admin.context_provider.pinecone.api_version_desc'] = 'API version to use. Default: 2025-04';

$_lang['modai.admin.prompt_library.category'] = 'Category';
$_lang['modai.admin.prompt_library.category'] = 'Category';

$_lang['modai.admin.prompt_library.prompt.name'] = 'Name';
$_lang['modai.admin.prompt_library.prompt.enabled'] = 'Enabled';
$_lang['modai.admin.prompt_library.prompt.rank'] = 'Rank';
$_lang['modai.admin.prompt_library.prompt.rank'] = 'Sort Order';
$_lang['modai.admin.prompt_library.prompt.create'] = 'Create Prompt';
$_lang['modai.admin.prompt_library.prompt.update'] = 'Update Prompt';
$_lang['modai.admin.prompt_library.prompt.remove'] = 'Remove Prompt';
Expand Down Expand Up @@ -151,8 +150,8 @@
$_lang['modai.admin.error.context_provider_not_found'] = 'Context Provider was not found.';

$_lang['modai.admin.error.tool_name_already_exists'] = 'Tool with this name already exists.';
$_lang['modai.admin.error.tool_wrong_interface'] = 'Context Provider class does not implement the \modAI\Tools\ToolInterface';
$_lang['modai.admin.error.tool_not_found'] = 'Context Provider was not found.';
$_lang['modai.admin.error.tool_wrong_interface'] = 'Tool class does not implement the \modAI\Tools\ToolInterface';
$_lang['modai.admin.error.tool_not_found'] = 'Tool was not found.';

$_lang['modai.admin.error.agent_name_already_exists'] = 'Agent with this name already exists.';
$_lang['modai.admin.error.agent_not_found'] = 'Agent was not found.';
Expand Down
Loading