Skip to content

Commit 1cef07e

Browse files
committed
Added a minimal AI page
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
1 parent 137d445 commit 1cef07e

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: default
3+
title: AI agent
4+
sorting: 5
5+
---
6+
7+
The AI agent in Mission Portal allows you to explore your infrastructure using natural language queries.
8+
9+
- Integrates with common AI providers, including Google Gemini, OpenAI, Anthropic, and Mistral.
10+
- Supports running local models, through Ollama or using an OpenAI compatible API.
11+
- The model does not generate data directly, it generates SQL queries which are seamlessly executed against your database.
12+
- The resulting tables / SQL queries can be saved as reports.
13+
- The AI gets the context of your previous messages in the same chat, so you can refer back to things mentioned in the conversation.
14+
15+
**Security and privacy**
16+
17+
- Data (values) is never shared with the AI model provider, only schema and column names are sent along with your queries.
18+
- The UI allows you to inspect and verify the generated SQL queries.
19+
- SQL queries are run in read-only transactions.
20+
- The use of AI and choice of model and provider is up to you.
21+
The feature must be enabled in the settings, and CFEngine Mission Portal communicates directly with the AI provider.
22+
23+
## Chat
24+
25+
Once configured, the AI agent is accessible in an easy to use chat interface.
26+
27+
![](images/ai-chat.png)
28+
29+
## Settings
30+
31+
In the new AI settings page, you can configure the AI agent to use different providers and models.
32+
33+
![](images/ai-settings.png)

content/web-ui/images/ai-agent.png

179 KB
Loading
100 KB
Loading

0 commit comments

Comments
 (0)