AIM. - Mistral AI

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIM. - Mistral AI >

AIM. - Mistral AI

AIM.SetKey

Top


MiniRobotLanguage (MRL)

 

AIM.SetKey

Set the Mistral AI API Key

 

Intention

 

The AIM.SetKey command sets the Mistral AI API key required for accessing Mistral's language models. You can set the key directly or load it from a file.

 

Get your API key from:

 

Syntax

 

AIM.SetKey|$$Key[|$$Path]

 

P1 - $$Key - The API key or: Crypt, Text, Any

P2 - $$Path (optional) - File path when loading from file

 

Example

 

' Set key directly

AIM.SetKey|your_mistral_api_key

 

' Load from encrypted file

AIM.SetKey|Crypt|C:\Keys\AIM_Key.dat

 

Related Commands

 

- AIM.SaveKey - Save API key to file