diagnose system fortiai
Use this command to troubleshoot and configure the backend components of the FortiAI Assistant, including the AI server and Retrieval-Augmented Generation (RAG) server settings.
Syntax
diagnose system fortiai {debug|get-ai-server|get-rag-doc-version|get-rag-server|logread|reset-server|restart-chatbot|set-ai-server|set-rag-doc-version|set-rag-server|test-ai-server}
| debug |
Enable or disable to manage the level of detail recorded for FortiAI Assistant operations.
|
| get-ai-server | Retrieve the current URL or IP address configured for the AI server. |
| get-rag-doc-version | Display the version of the RAG document currently used for product knowledge queries. |
| get-rag-server | Retrieve the current URL or IP address configured for the RAG server. |
| logread | Display the contents of the FortiAI Assistant log file for troubleshooting. |
| reset-server | Revert the AI and RAG server settings to their factory default values. |
| restart-chatbot | Restart the chatbot service. Note: This is required for changes to server or debug settings to take effect. |
|
set-ai-server |
Manually configure the address of the AI server. |
|
set-rag-doc-version |
Manually specify the version of the RAG document to be used by the assistant. |
|
set-rag-server |
Manually configure the address of the RAG server. |
|
test-ai-server |
Perform a connectivity test to verify if the FortiADC can reach the configured AI server. |