AIL. - AI-Local Systems (GPT4All)

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIL. -  AI-Local Systems (GPT4All) >

AIL. - AI-Local Systems (GPT4All)

AIL.Set Model

Previous Top Next


MiniRobotLanguage (MRL)

 

AIL.Set Model

Choose a Model for use with GPT4All

 

clip0814

 

Intention

 

There are two ways to use this Command. You can simply write

 

AIL.Set Model|<Number>

 

Then you will get the Model that corresponds to this number.

Of course you must have downloaded the Model into GPT4All before.

 

To use the OpenAI-Models from GPT4All, you also need to initialize them with your

Open AI-API-Key. Also note that in this case - when you use Open AI Models -

the Commands are executed in the Cloud, not local.

 

At the time of this writing, people say that Nr.7 - Wizzard v1.1 seems to be the strongest Model,

in some tests as good as GPT 3.5. Therefore if you do not know which Model to choose, try Nr.7.

Number

Model

1

Wizard Uncensored

2

Hermes

3

Snoozy

4

Replit

5

Nous Vicuna

6

Groovy

7

Wizard v1.1

8

ChatGPT-3.5 Turbo

9

ChatGPT-4

The second way to use this command is, you can just write

 

AIL.Set Model|<Name of Model>

 

This way you will also get the Model selected. Using this Command, it is CASE-SENSITIVE.

Therefore use the exact letters from the Model-name in the GUI.

 

Where do you find the Name of the Model?

 

In GPT4All the Name of the Model is the text in Color at the Models Page.

 

Here you can see the name of 2 Models, One is "Wizard v1.1" and the other is not installed on my system.

You can only use Models that are installed on your system.

 

clip0732

 

 

 

Syntax

 

 

AIL.Set Model[|P1]

 

 

Parameter Explanation

 

P1 - (optional) a numeric value or directly the name of an installed Model. If omitted a default Model (currently "Hermes") will be used. If you chose a Model that is not installed, GPT4All will just take any Model that is installed and loaded. Its important that you write the Model-Name exactly as you see it in the GUI.

This Command is CASE-SENSITIVE. Therefore use large letters when the model-name needs large letters.

 

 

Example

 

'***********************************

' AIL.-Code Sample

'***********************************

$$LOG=?exeloc\Output.txt

DEL.$$LOG

$$WOA="STW.SCW.SAO.NAV.WTW.WCW.CAW.WFM.MAW.WPR.WPT.SIR.WFV.GCT.AVF.TVI.TVF.UNI.SMH.AGR.AGF.AFT.AFF.AMS.LBE.GSW.GRW.GTE.LBO.RBO.ANA.CAP.WLC.WRA.WRC.RRA.WIK.LAP.LVI.SWP.SWS.CLW.DBC.SFW.WFP.LFP.WTP.LTP.RIC.RCC.RAT."

      

GSC.$$WOA|.|$$ANZ

GSB.Write_Log|SPR counted: $$ANZ Elements.$crlf$------------------------------$crlf$

 

FOR.$$NUM|1|9

  AIL.Set MaxToken|1024  

  AIL.SetModel|$$NUM

  AIL.Set Number|1

  AIL.Set Temperatur|1

  AIL.srp|1

  AIL.snb|1

  

  GSB.Write_Log|Model: $$NUM

 

  $$TXT=As my AI assistant, I'd like you to analyze a string of three-letter words, each ending with a dot. The string is as follows:$crlf$ $$WOA

  $$TXT+First, please count the number of words in this string. Remember, each word is separated by a dot.$crlf$

  $$TXT+Next, I'd like you to sort these words in alphabetical order. Please explain each step of the process in plain English, without generating any code or repeating yourself. Once you've sorted the words, show me the final result.

  $$TXT+$crlf$Finally, ensure that the words are sorted in alphabetical order.

  DBP.$$TXT

 

  AIL.Ask GPT4All|$$TXT|$$RET

  GSB.Write_Log|$$RET

  AIC.Get Several|5|$$RAW

  GSB.Write_Log|Used Model: $$RAW

  DBP.---------------------

NEX.

 

ENR.

'-----------------------------------------------------------

:Write_Log

VAV.$$OUT=§§_01$crlf$

ATF.$$LOG|$$OUT

DBP.$$OUT

RET.

'-----------------------------------------------------------

ENR.

 

 

 

 

 

Remarks

 

  In my Tests the AIL.Set Model Command did not work with all Models, this may be fixed in future versions of GPT4All.

 This Command is CASE-SENSITIVE.
 

 

 

Limitations:

 

-

 

 

See also: