You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constnoteText=`The technological singularity—or simply the singularity[1]—is a hypothetical future point in time at which technological growth becomes uncontrollable and irreversible, resulting in unforeseeable changes to human civilization.[2][3] According to the most popular version of the singularity hypothesis, I.J. Good's intelligence explosion model, an upgradable intelligent agent will eventually enter a "runaway reaction" of self-improvement cycles, each new and more intelligent generation appearing more and more rapidly, causing an "explosion" in intelligence and resulting in a powerful superintelligence that qualitatively far surpasses all human intelligence.[4]`;
4
4
5
+
// Example with OpenAI using custom labels in place of model names
5
6
constai=newAxAI({
6
7
name: 'openai',
7
8
apiKey: process.env.OPENAI_APIKEYasstring,
8
-
config: {model: AxAIOpenAIModel.GPT35Turbo}
9
+
config: {model: 'model-a'},
10
+
modelMap: {
11
+
'model-a': AxAIOpenAIModel.GPT35Turbo
12
+
}
9
13
});
10
14
11
-
ai.setOptions({debug: true});
12
-
13
15
// const ai = new AxAI({ name: 'ollama', model: 'nous-hermes2' });
0 commit comments