Skip to content

Commit a2121c3

Browse files
committed
docs: admin
1 parent 478b1cd commit a2121c3

File tree

4 files changed

+78
-0
lines changed

4 files changed

+78
-0
lines changed

Writerside/m.tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

99
<toc-element topic="index.md"/>
1010
<toc-element topic="Glossary.md"/>
11+
<toc-element toc-title="Admin">
12+
<toc-element topic="Agents.md"/>
13+
<toc-element topic="Context-Providers.md"/>
14+
<toc-element topic="Tools.md"/>
15+
</toc-element>
1116
<toc-element toc-title="Configuration">
1217
<toc-element topic="Configuration_Overview.md"/>
1318
<toc-element topic="Supported-Services.md"/>

Writerside/topics/Agents.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Agents
2+
3+
To create an agent, navigate to the Extras -> modAI -> Agents and hit `Create Agent` button.
4+
5+
## Properties
6+
7+
### Name
8+
Name of the agent, this text will show up in the modAI UI, in the agent selector.
9+
10+
### Description
11+
Internal description of the agent, doesn't have any special functionality.
12+
13+
### User Groups
14+
When defined, only users from those user groups will be able to use this agent. SUDO users have an access to every agent.
15+
16+
### Enabled
17+
If set to `false`, the agent won't be available in the agent selector.
18+
19+
### Model
20+
Name of the model this agent will use. If not specified, model from appropriate system setting will be used.
21+
22+
### Prompt
23+
Custom system prompt for this agent. Can give a specific persona to the agent, or instruct the AI how to use and combine specific tools.
24+
25+
### Advanced Config
26+
Through advanced config, you can override any model setting (that you have in system settings), or add any additional parameters. The format is same as in system settings.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Context Providers
2+
3+
To be able to use context providers through agents, they have to be created and configured from this section.
4+
5+
To create & configure context provider, navigate to the Extras -> modAI -> Context Providers and hit `Create Context Provider` button.
6+
7+
## Properties
8+
9+
### Context Provider Class
10+
Implementation of the context provider. Every context provider class can have an additional configuration that will show up in the `Config` panel on the right side. Additional context providers can be registered using plugin with `modAIOnContextProviderRegister` event.
11+
12+
### Name
13+
Name of the context provider, this name has to be unique across all configured context providers.
14+
15+
### Description
16+
Internal description of the context provider, doesn't have any special functionality.
17+
18+
### Enabled
19+
If set to `false`, the context provider won't be available for use, even when assigned to agents.
20+
21+
### Additional Config Options
22+
Every context provider class can expose a different set of additional config options. You can reference a value from system settings by using `ss:system_setting_key` format for the config option's value.

Writerside/topics/Tools.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Tools
2+
3+
To be able to use tools through agents, or directly from chat, they have to be created and configured from this section.
4+
5+
To create & configure tool, navigate to the Extras -> modAI -> Tools and hit `Create Tool` button.
6+
7+
## Properties
8+
9+
### Tool Class
10+
Implementation of the tool. Every tool class can have an additional configuration that will show up in the `Config` panel on the right side. Additional tools can be registered using plugin with `modAIOnToolRegister` event.
11+
12+
### Name
13+
Name of the tool, this name has to be unique across all configured tools. This is how AI references a tool that it wants to run.
14+
15+
### Description
16+
Internal description of the tool, doesn't have any special functionality.
17+
18+
### Enabled
19+
If set to `false`, the tool won't be available for use, even when assigned to agents.
20+
21+
### Default
22+
When set to `true`, the tool will be available for use in every prompt (without a need to select an agent). Be careful with enabling this on tools as it will increase token usage and can worsen the AI responses.
23+
24+
### Additional Config Options
25+
Every tool class can expose a different set of additional config options. You can reference a value from system settings by using `ss:system_setting_key` format for the config option's value.

0 commit comments

Comments
 (0)