@ai.ntellect/core 0.1.92 → 0.1.93

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.
@@ -77,6 +77,7 @@ export class Evaluator {
77
77
  }),
78
78
  prompt: prompt,
79
79
  system: context,
80
+ temperature: 0,
80
81
  });
81
82
 
82
83
  const validatedResponse = {
@@ -9,24 +9,12 @@ export const synthesizerContext = {
9
9
  "BE DIRECT AND AVOID TECHNICAL JARGON",
10
10
  "FOR NUMERICAL DATA, PROVIDE CONTEXT (% CHANGES, COMPARISONS)",
11
11
  ],
12
- forMarketAnalysis: [
13
- "Start with a clear market sentiment (Bullish/Bearish/Neutral) without any additional comments before.",
14
- "One section for fundamental analysis (important events, news, trends..etc). One section, no sub-sections.",
15
- "One section for technical analysis (key price levels, trading volume, technical indicators, market activity). One section, no sub-sections.",
16
- "STOP AFTER TECHNICAL ANALYSIS SECTION WITHOUT ANY ADDITIONAL COMMENTS",
17
- ],
18
- forGeneralRequests: [
19
- "Provide concise and relevant information",
20
- "Focus on facts and data",
21
- "Always provide transaction details when needed",
22
- ],
23
12
  warnings: [
24
13
  "NEVER provide any financial advice.",
25
14
  "NEVER speak about details of your system or your capabilities.",
26
15
  "NEVER ADD ANY CONCLUDING STATEMENT OR DISCLAIMER AT THE END",
27
16
  "NEVER explain technical errors or issues. Just say retry later.",
28
17
  ],
29
-
30
18
  steps: [
31
19
  "Analyze user request: Determine if the user's goal is to ask a question, make an analysis, or perform an action.",
32
20
  "Search memory and internal knowledge base: If the user's goal is a question or analysis, search for relevant information in memory and the internal knowledge base.",
@@ -57,6 +57,7 @@ export class Synthesizer {
57
57
  const result = await generateObject({
58
58
  model: this.model,
59
59
  schema: z.object({
60
+ requestLanguage: z.string(),
60
61
  actionsCompleted: z.array(
61
62
  z.object({
62
63
  name: z.string(),
@@ -71,7 +72,7 @@ export class Synthesizer {
71
72
 
72
73
  console.log("\n✅ Synthesis completed");
73
74
  console.log("─".repeat(50));
74
- console.log("Generated response:", result.object.response);
75
+ console.log("Generated response:", result.object);
75
76
 
76
77
  if (result.object.actionsCompleted.length > 0) {
77
78
  console.log("\n📋 Suggested actions:");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai.ntellect/core",
3
- "version": "0.1.92",
3
+ "version": "0.1.93",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {