Connections tab in the AI Toolkit
Add an LLM connection
Log in to the AI Toolkit, navigate to the Connections tab, and choose Add a Connection as shown in the following image:
ai command is processed by an external LLM service provider.
LLM connection permission
To select LLM as the Connection Type, you must have the following capability from the mltk admin role:
-
list_ai_commander_config
Add a Connection steps
Complete the following steps
-
Enter a name into the Connection name field.
- From the Connection Type drop-down menu, choose LLM.
-
Make a selection from the Provider drop-down menu. See Supported LLM providers in the next section.
-
Complete the Input connection details fields. What fields display depends on which LLM provider is selected from the Provider menu.
-
(Optional) Use the Test Connection option from the top right and adjust field values as needed.
-
Save the connection.
After the connection has been configured, you can use the LLM with the ai command. For more information see About the ai command.
ai command does not inspect the input to the LLM. Use discretion to determine if the data you send to the LLM is suitable and appropriate.
Supported LLM providers
You can use the ai command with the following LLM providers:
- Splunk Hosted Models
- OpenAI
-
Anthropic
- AzureOpenAI
- Groq
- Gemini
- Bedrock
- Ollama
You can use the provider= or model= parameters in your ai command search to switch between these providers.
Add a Container connection
When following the steps to add a new connection, the Connection Type drop-down menu provides the options of LLM or Container. When you select Container you can create a Kubernetes or Docker external runtime connection, or enable HPA.
Log in to the AI Toolkit, navigate to the Connections tab, and choose Add a Connection as shown in the following image:
Container connection permissions
To select Container as the Connection Type, you must have the following capability from the mltk admin role:
-
list_ai_commander_config
dsdl_admin role:
-
list_container_connections -
setup_container_configuration -
enable_hpa
To run the fit and apply commands for a specific AI Toolkit container you must have the following capabilities from the dsdl_admin role:
-
fit_mltkcontainer -
apply_mltkcontainer
Add a Connection steps
Complete the following steps:
-
Enter a name into the Connection name field.
- From the Connection Type drop-down menu, choose Container.
-
Make a selection from the Provider drop-down menu. Kubernetes and Docker are both supported.
-
Complete the Input connection details fields. What fields display depends on which container provider is selected from the Provider menu.
-
(Optional) Use the Test Connection option from the top right and adjust field values as needed.
-
Save the connection.
The following image show an example of the Container connection set up page: