|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIX. - Grok / X - API > AIX - Artificial Intelligence and X Platform Utility |
MiniRobotLanguage (MRL)
!Model and Endpoint Configuration
Defining AIX API Settings
Intention
Model and Endpoint Configuration: Customizing AIX Connections
The Model and Endpoint Configuration category includes commands to define the AI model and API endpoint URL for AIX interactions with the Grok API.
This allows users to tailor the system to specific models and connection points.
It’s part of the AIX - Grok / X - API suite.
This category provides commands to configure the AI model (e.g., grok-2) and the API endpoint URL (e.g., https://api.x.ai/v1/chat/completions) used by AIX.
It enables precise control over the connection and model selection for API calls.
Configuring models and endpoints is necessary for:
•Flexibility: Supports different Grok models (e.g., grok-2, grok-3).
•Connectivity: Ensures the correct API endpoint is targeted.
•Optimization: Allows selection of the best model for specific tasks.
Use commands in this category to define or retrieve the model and endpoint settings.
For example, set a custom model with AIX.SetModel, then verify it with AIX.GetModel.
Commands in This Category
The following commands are included:
•AIX.SetModel - Set the AI model to be used.
•AIX.GetModel - Retrieve the current AI model.
•AIX.SetEndpoint - Set the API endpoint URL.
•AIX.GetEndpoint - Retrieve the current API endpoint URL.