Using FortiAI
The FortiAI assistant can be used to navigate the GUI and perform actions. It can also be used to answer questions and query data.
The FortiAI assistant is operated using prompts. You can use natural language to request actions or information from the FortiAI assistant. If you enter a prompt that the FortiAI assistant does not understand, it will ask for more details to clarify your request. Responses from the FortiAI assistant may also include suggestions and requests for you to consider. For example, after responding to a query for information, the FortiAI assistant may ask if you would like help performing a related action.
The FortiAI assistant's responses can include text, images, widgets, and data retrieved directly from your FortiManager environment.
If you log out, close, or reload your session, you will not be able to continue your current thread with the FortiAI assistant. For example, you will not be able to reference a chart the FortiAI assistant in the current thread after reloading. |
The FortiAI assistant can be used to help with queries and configurations for the following:
Script Assistant |
Use the Script Assistant to generate CLI and Jinja scripts based on the administrator input. |
||||||||||||
VPN Assistant |
Use the VPN Assistant to help write scripts to provision VPN topologies and check or diagnose the VPN tunnel status. |
||||||||||||
IoT Device Analysis |
Use IoT Device Analysis to gather information and perform actions for IoT devices. The assistant can help with the following:
|
Example of valid prompts:
-
What do I need to do to detect IoT devices through my FortiGates?
-
Can you help me perform an IoT prerequisite check on my FortiGates?
-
Generate a report of IoT devices in my network by vendor.
-
Please quarantine the device with MAC address
xx:xx:xx:xx:xx:xx
onFortiGate-A
. -
Help me create a firewall address of
<ip address>
and<domain>
.
The above examples use full sentences. However, in general, using more text means using more tokens. To more efficiently use tokens, keep your prompts concise. For more information about tokens, see FortiAI tokens. |
The FortiAI assistant pane includes the following:
Section |
Description |
|
---|---|---|
Toolbar |
Click an icon to perform the related action or open the related dialog. |
|
|
Restart Thread |
Restart the FortiAI chat thread. |
|
Download Chat History |
Download the current chat thread in HTML or PNG format. |
|
Close |
Close the FortiAI pane. This does not clear the current thread. You can continue the chat thread by re-opening the FortiAI assistant in the same session. |
Thread |
Displays your prompts and the FortiAI assistant’s responses for the current thread. At the bottom of responses from the FortiAI assistant, click the help icon to display the function callback results. |
|
Prompt |
Enter a prompt for the FortiAI assistant, and then click send. Alternatively, you can click the microphone icon to speak a prompt for the FortiAI assistant. When available, suggested prompts display above the text box. You can click these suggestions to prompt the FortiAI assistant. |
|
Monthly token usage |
Displays the percentage of monthly tokens used for the current month. For more information, see FortiAI tokens. |