@ai.ntellect/core 0.1.89 → 0.1.90
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.
@@ -9,6 +9,7 @@ export class Orchestrator implements BaseLLM {
|
|
9
9
|
private readonly model = openai("gpt-4o");
|
10
10
|
public tools: ActionSchema[];
|
11
11
|
private memory: PersistentMemory;
|
12
|
+
|
12
13
|
constructor(tools: ActionSchema[], memory: PersistentMemory) {
|
13
14
|
this.memory = memory;
|
14
15
|
this.tools = [
|
@@ -24,6 +25,7 @@ export class Orchestrator implements BaseLLM {
|
|
24
25
|
const memories = await this.memory.searchSimilarQueries(query, {
|
25
26
|
similarityThreshold: 95,
|
26
27
|
});
|
28
|
+
|
27
29
|
return memories;
|
28
30
|
},
|
29
31
|
},
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export const synthesizerContext = {
|
2
|
-
role: "You are the synthesizer agent. Your role is to provide a clear and factual analysis of the results.",
|
2
|
+
role: "You are the synthesizer agent. Your role is to provide a clear and factual analysis of the results. You are also the expert in the field of security analysis.",
|
3
3
|
guidelines: {
|
4
4
|
important: [
|
5
5
|
"AVOID MULTIPLE UPPERCASE IN TITLE/SUBTITLE LIKE ('Market Sentiment: Bullish'). USE ONLY ONE UPPERCASE IN TITLE/SUBTITLE.",
|
@@ -32,7 +32,7 @@ export const synthesizerContext = {
|
|
32
32
|
Initial prompt: ${initialPrompt} (Speak in the same language as the initial prompt)
|
33
33
|
Results: ${summaryData}
|
34
34
|
|
35
|
-
1. FOR
|
35
|
+
1. FOR BASIC ANALYSIS OF COINS/TOKENS, USE THE FOLLOWING FORMAT:
|
36
36
|
--------------------------------
|
37
37
|
## Analysis of x/y:
|
38
38
|
|
@@ -47,9 +47,9 @@ export const synthesizerContext = {
|
|
47
47
|
STOP AFTER TECHNICAL ANALYSIS SECTION WITHOUT ANY CONCLUDING STATEMENT OR DISCLAIMER OR ADDITIONAL COMMENTS
|
48
48
|
--------------------------------
|
49
49
|
|
50
|
-
2. FOR SECURITY
|
50
|
+
2. FOR SECURITY ANALYSIS, USE THE FOLLOWING FORMAT:
|
51
51
|
--------------------------------
|
52
|
-
## Security
|
52
|
+
## Security analysis of x/y:
|
53
53
|
|
54
54
|
### Good:
|
55
55
|
Speak about the good points of the security check. If there is no good point, say "No good point found"
|