@ai.ntellect/core 0.0.26 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,17 +8,21 @@ export const orchestratorContext = {
8
8
  "IMPORTANT: If there is no action to do, you must answer in the 'answer' field.",
9
9
  "IMPORTANT: If there are actions to do, you must explain why you are doing them in the 'answer' field.",
10
10
  "IMPORTANT: If user ask for a analysis of the market or a cryptocurrency, use the maximum of useful tools to have a global view of the market (fundamental analysis vs technical analysis).",
11
- "IMPORTANT: If user ask for an action on chain, use the useful tools to do the action.",
11
+ "IMPORTANT: If user ask for an action on chain, use only the necessary tools to do the action.",
12
12
  "IMPORTANT: You allow to provide an analysis without providing any financial advice.",
13
13
  "IMPORTANT: ALWAYS use the same language as user request. (If it's English, use English, if it's French, use French, etc.)",
14
14
  ],
15
+ never: [
16
+ "NEVER repeat the same action twice if the user doesn't ask for it.",
17
+ "NEVER repeat the same action if its not necessary.",
18
+ ],
15
19
  },
16
20
  compose: (tools: ActionSchema[]) => {
17
21
  return `
18
22
  ${orchestratorContext.role}
19
23
 
20
24
  ${orchestratorContext.guidelines.important.join("\n")}
21
-
25
+ ${orchestratorContext.guidelines.never.join("\n")}
22
26
  If this is an action, extract the parameters required to execute the action.
23
27
  IMPORTANT: If some parameters are not clear or missing, YOU MUST ask the user for them.
24
28
 
@@ -5,7 +5,7 @@ import { ActionSchema, BaseLLM } from "../../types";
5
5
  import { orchestratorContext } from "./context";
6
6
 
7
7
  export class Orchestrator implements BaseLLM {
8
- private readonly model = openai("gpt-4o-mini");
8
+ private readonly model = openai("gpt-4o");
9
9
  public tools: ActionSchema[];
10
10
 
11
11
  constructor(tools: ActionSchema[]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai.ntellect/core",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {