@breadstone/archipel-mcp 0.0.49 → 0.0.51
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.
- package/data/packages/platform-bootstrap/api/Class.CompositionContext.md +8 -8
- package/data/packages/platform-bootstrap/api/Class.CompositionModule.md +1 -1
- package/data/packages/platform-bootstrap/api/Class.CompositionResolver.md +7 -7
- package/data/packages/platform-bootstrap/api/Function.createCompositionContext.md +1 -1
- package/data/packages/platform-bootstrap/api/Interface.ICompositionContext.md +7 -7
- package/data/packages/platform-bootstrap/api/Interface.ICreateCompositionContextOptions.md +3 -3
- package/data/packages/platform-bootstrap/api/Interface.IProviderDecision.md +3 -3
- package/data/packages/platform-bootstrap/api/TypeAlias.CompositionImport.md +1 -1
- package/data/packages/platform-bootstrap/api/TypeAlias.ProviderComposer.md +1 -1
- package/data/packages/platform-intelligence/api/Class.IntelligenceAgentFactory.md +64 -0
- package/data/packages/platform-intelligence/api/Class.IntelligenceEmbeddingGenerator.md +70 -0
- package/data/packages/platform-intelligence/api/Class.IntelligenceMediaGenerator.md +118 -0
- package/data/packages/platform-intelligence/api/Class.IntelligenceModule.md +2 -2
- package/data/packages/platform-intelligence/api/Class.IntelligenceProviderAssetUploader.md +70 -0
- package/data/packages/platform-intelligence/api/Class.IntelligenceStructuredGenerator.md +70 -0
- package/data/packages/platform-intelligence/api/Class.IntelligenceTelemetryRegistry.md +44 -0
- package/data/packages/platform-intelligence/api/Class.IntelligenceTextGenerator.md +8 -8
- package/data/packages/platform-intelligence/api/Function.createAnthropicBash20241022Tool.md +1 -1
- package/data/packages/platform-intelligence/api/Function.createAnthropicBash20250124Tool.md +1 -1
- package/data/packages/platform-intelligence/api/Function.createIntelligenceTool.md +1 -1
- package/data/packages/platform-intelligence/api/Function.createMimoCustomTool.md +30 -0
- package/data/packages/platform-intelligence/api/Function.createOpenAICustomTool.md +5 -5
- package/data/packages/platform-intelligence/api/Function.loadAnthropicLanguageModel.md +2 -2
- package/data/packages/platform-intelligence/api/Function.loadGoogleLanguageModel.md +2 -2
- package/data/packages/platform-intelligence/api/Function.loadGrokLanguageModel.md +2 -2
- package/data/packages/platform-intelligence/api/Function.loadMimoLanguageModel.md +26 -0
- package/data/packages/platform-intelligence/api/Function.loadOpenAILanguageModel.md +2 -2
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceCompletionUsage.md +9 -9
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceTextCompletion.md +92 -8
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceTextGenerationOptions.md +7 -23
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceTextGenerator.md +2 -2
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceTextStreamingOptions.md +23 -36
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceTool.md +1 -1
- package/data/packages/platform-intelligence/api/TypeAlias.IntelligenceLanguageModelLoader.md +2 -2
- package/data/packages/platform-intelligence/api/TypeAlias.IntelligenceProviderName.md +1 -1
- package/data/packages/platform-intelligence/api/Variable.INTELLIGENCE_API_KEY.md +1 -1
- package/data/packages/platform-intelligence/api/Variable.INTELLIGENCE_BASE_URL.md +1 -1
- package/data/packages/platform-intelligence/api/Variable.INTELLIGENCE_MAX_OUTPUT_TOKENS.md +1 -1
- package/data/packages/platform-intelligence/api/Variable.INTELLIGENCE_MODEL.md +1 -1
- package/data/packages/platform-intelligence/api/Variable.INTELLIGENCE_PROVIDER.md +2 -2
- package/data/packages/platform-intelligence/api/Variable.INTELLIGENCE_TEMPERATURE.md +1 -1
- package/data/packages/platform-intelligence/api/Variable.INTELLIGENCE_TOP_P.md +1 -1
- package/data/packages/platform-intelligence/api/Variable.IntelligenceProviderNames.md +2 -0
- package/data/packages/platform-intelligence/api/Variable.MIMO_API_KEY.md +14 -0
- package/data/packages/platform-intelligence/api/Variable.MIMO_BASE_URL.md +14 -0
- package/data/packages/platform-intelligence/api/Variable.MIMO_CONFIG_ENTRIES.md +14 -0
- package/data/packages/platform-intelligence/api/Variable.PLATFORM_INTELLIGENCE_CONFIG_ENTRIES.md +1 -1
- package/data/packages/platform-intelligence/api/index.md +12 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ editUrl: false
|
|
|
5
5
|
---
|
|
6
6
|
# Class: CompositionContext
|
|
7
7
|
|
|
8
|
-
Defined in: composition/context/CompositionContext.ts:17
|
|
8
|
+
Defined in: [composition/context/CompositionContext.ts:17](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/CompositionContext.ts#L17)
|
|
9
9
|
|
|
10
10
|
Default implementation of the composition context.
|
|
11
11
|
|
|
@@ -24,7 +24,7 @@ access to configuration values during module composition.
|
|
|
24
24
|
new CompositionContext(context, config): CompositionContext;
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Defined in: composition/context/CompositionContext.ts:35
|
|
27
|
+
Defined in: [composition/context/CompositionContext.ts:35](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/CompositionContext.ts#L35)
|
|
28
28
|
|
|
29
29
|
Constructs a new composition context.
|
|
30
30
|
|
|
@@ -49,7 +49,7 @@ Constructs a new composition context.
|
|
|
49
49
|
get config(): ConfigService;
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
Defined in: composition/context/CompositionContext.ts:54
|
|
52
|
+
Defined in: [composition/context/CompositionContext.ts:54](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/CompositionContext.ts#L54)
|
|
53
53
|
|
|
54
54
|
The Archipel configuration service.
|
|
55
55
|
|
|
@@ -77,7 +77,7 @@ Provides typed access to environment configuration values.
|
|
|
77
77
|
get context(): INestApplicationContext;
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
Defined in: composition/context/CompositionContext.ts:47
|
|
80
|
+
Defined in: [composition/context/CompositionContext.ts:47](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/CompositionContext.ts#L47)
|
|
81
81
|
|
|
82
82
|
The temporary NestJS application context.
|
|
83
83
|
|
|
@@ -105,7 +105,7 @@ Do not use this context for runtime services.
|
|
|
105
105
|
close(): Promise<void>;
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
Defined in: composition/context/CompositionContext.ts:86
|
|
108
|
+
Defined in: [composition/context/CompositionContext.ts:86](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/CompositionContext.ts#L86)
|
|
109
109
|
|
|
110
110
|
Closes the temporary composition context.
|
|
111
111
|
|
|
@@ -130,7 +130,7 @@ A promise that resolves when the context is closed.
|
|
|
130
130
|
getConfigValue<T>(key): T;
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
-
Defined in: composition/context/CompositionContext.ts:65
|
|
133
|
+
Defined in: [composition/context/CompositionContext.ts:65](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/CompositionContext.ts#L65)
|
|
134
134
|
|
|
135
135
|
Reads a required configuration value.
|
|
136
136
|
|
|
@@ -164,7 +164,7 @@ The typed configuration value.
|
|
|
164
164
|
getService<T>(token): T;
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
-
Defined in: composition/context/CompositionContext.ts:79
|
|
167
|
+
Defined in: [composition/context/CompositionContext.ts:79](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/CompositionContext.ts#L79)
|
|
168
168
|
|
|
169
169
|
Resolves a provider from the composition context.
|
|
170
170
|
|
|
@@ -198,7 +198,7 @@ The resolved provider instance.
|
|
|
198
198
|
tryGetConfigValue<T>(key, fallback): T;
|
|
199
199
|
```
|
|
200
200
|
|
|
201
|
-
Defined in: composition/context/CompositionContext.ts:72
|
|
201
|
+
Defined in: [composition/context/CompositionContext.ts:72](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/CompositionContext.ts#L72)
|
|
202
202
|
|
|
203
203
|
Reads an optional configuration value with a fallback.
|
|
204
204
|
|
|
@@ -5,7 +5,7 @@ editUrl: false
|
|
|
5
5
|
---
|
|
6
6
|
# Class: CompositionModule
|
|
7
7
|
|
|
8
|
-
Defined in: composition/module/CompositionModule.ts:53
|
|
8
|
+
Defined in: [composition/module/CompositionModule.ts:53](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/module/CompositionModule.ts#L53)
|
|
9
9
|
|
|
10
10
|
Minimal module providing configuration access for composition.
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ editUrl: false
|
|
|
5
5
|
---
|
|
6
6
|
# Abstract Class: CompositionResolver
|
|
7
7
|
|
|
8
|
-
Defined in: composition/services/CompositionResolver.ts:46
|
|
8
|
+
Defined in: [composition/services/CompositionResolver.ts:46](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/services/CompositionResolver.ts#L46)
|
|
9
9
|
|
|
10
10
|
Abstract base class for composition-time feature resolution.
|
|
11
11
|
|
|
@@ -51,7 +51,7 @@ export class AppCompositionResolver extends CompositionResolver {
|
|
|
51
51
|
protected new CompositionResolver(configService): CompositionResolver;
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
Defined in: composition/services/CompositionResolver.ts:62
|
|
54
|
+
Defined in: [composition/services/CompositionResolver.ts:62](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/services/CompositionResolver.ts#L62)
|
|
55
55
|
|
|
56
56
|
Constructs a new composition resolver.
|
|
57
57
|
|
|
@@ -75,7 +75,7 @@ Constructs a new composition resolver.
|
|
|
75
75
|
get protected configService(): ConfigService;
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
Defined in: composition/services/CompositionResolver.ts:75
|
|
78
|
+
Defined in: [composition/services/CompositionResolver.ts:75](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/services/CompositionResolver.ts#L75)
|
|
79
79
|
|
|
80
80
|
The underlying configuration service.
|
|
81
81
|
|
|
@@ -91,7 +91,7 @@ The underlying configuration service.
|
|
|
91
91
|
protected compareConfigValue<T>(key, value): boolean;
|
|
92
92
|
```
|
|
93
93
|
|
|
94
|
-
Defined in: composition/services/CompositionResolver.ts:133
|
|
94
|
+
Defined in: [composition/services/CompositionResolver.ts:133](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/services/CompositionResolver.ts#L133)
|
|
95
95
|
|
|
96
96
|
Compares a configuration value against an expected value.
|
|
97
97
|
|
|
@@ -122,7 +122,7 @@ Compares a configuration value against an expected value.
|
|
|
122
122
|
protected getConfigValue<T>(key): T;
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
-
Defined in: composition/services/CompositionResolver.ts:105
|
|
125
|
+
Defined in: [composition/services/CompositionResolver.ts:105](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/services/CompositionResolver.ts#L105)
|
|
126
126
|
|
|
127
127
|
Gets a required configuration value.
|
|
128
128
|
|
|
@@ -156,7 +156,7 @@ When the configuration key is not found.
|
|
|
156
156
|
abstract shouldImportProvider(providerKey): boolean;
|
|
157
157
|
```
|
|
158
158
|
|
|
159
|
-
Defined in: composition/services/CompositionResolver.ts:93
|
|
159
|
+
Defined in: [composition/services/CompositionResolver.ts:93](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/services/CompositionResolver.ts#L93)
|
|
160
160
|
|
|
161
161
|
Determines whether a specific provider should be imported.
|
|
162
162
|
|
|
@@ -182,7 +182,7 @@ Override this method to implement custom provider resolution logic.
|
|
|
182
182
|
protected tryGetConfigValue<T>(key, fallback): T;
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
-
Defined in: composition/services/CompositionResolver.ts:119
|
|
185
|
+
Defined in: [composition/services/CompositionResolver.ts:119](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/services/CompositionResolver.ts#L119)
|
|
186
186
|
|
|
187
187
|
Gets an optional configuration value with a fallback.
|
|
188
188
|
|
|
@@ -9,7 +9,7 @@ editUrl: false
|
|
|
9
9
|
function createCompositionContext(options?): Promise<ICompositionContext>;
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
Defined in: composition/factory/createCompositionContext.ts:88
|
|
12
|
+
Defined in: [composition/factory/createCompositionContext.ts:88](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/factory/createCompositionContext.ts#L88)
|
|
13
13
|
|
|
14
14
|
Creates a temporary NestJS context for stage-aware module composition.
|
|
15
15
|
|
|
@@ -5,7 +5,7 @@ editUrl: false
|
|
|
5
5
|
---
|
|
6
6
|
# Interface: ICompositionContext
|
|
7
7
|
|
|
8
|
-
Defined in: composition/context/ICompositionContext.ts:35
|
|
8
|
+
Defined in: [composition/context/ICompositionContext.ts:35](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/ICompositionContext.ts#L35)
|
|
9
9
|
|
|
10
10
|
Pre-bootstrap context for stage-aware module composition.
|
|
11
11
|
|
|
@@ -41,7 +41,7 @@ try {
|
|
|
41
41
|
readonly config: ConfigService;
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
Defined in: composition/context/ICompositionContext.ts:53
|
|
44
|
+
Defined in: [composition/context/ICompositionContext.ts:53](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/ICompositionContext.ts#L53)
|
|
45
45
|
|
|
46
46
|
The Archipel configuration service.
|
|
47
47
|
|
|
@@ -55,7 +55,7 @@ Provides typed access to environment configuration values.
|
|
|
55
55
|
readonly context: INestApplicationContext;
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
Defined in: composition/context/ICompositionContext.ts:44
|
|
58
|
+
Defined in: [composition/context/ICompositionContext.ts:44](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/ICompositionContext.ts#L44)
|
|
59
59
|
|
|
60
60
|
The temporary NestJS application context.
|
|
61
61
|
|
|
@@ -70,7 +70,7 @@ Do not use this context for runtime services.
|
|
|
70
70
|
close(): Promise<void>;
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
Defined in: composition/context/ICompositionContext.ts:100
|
|
73
|
+
Defined in: [composition/context/ICompositionContext.ts:100](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/ICompositionContext.ts#L100)
|
|
74
74
|
|
|
75
75
|
Closes the temporary composition context.
|
|
76
76
|
|
|
@@ -91,7 +91,7 @@ A promise that resolves when the context is closed.
|
|
|
91
91
|
getConfigValue<T>(key): T;
|
|
92
92
|
```
|
|
93
93
|
|
|
94
|
-
Defined in: composition/context/ICompositionContext.ts:65
|
|
94
|
+
Defined in: [composition/context/ICompositionContext.ts:65](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/ICompositionContext.ts#L65)
|
|
95
95
|
|
|
96
96
|
Reads a required configuration value.
|
|
97
97
|
|
|
@@ -125,7 +125,7 @@ When the configuration key is not found.
|
|
|
125
125
|
getService<T>(token): T;
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
Defined in: composition/context/ICompositionContext.ts:88
|
|
128
|
+
Defined in: [composition/context/ICompositionContext.ts:88](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/ICompositionContext.ts#L88)
|
|
129
129
|
|
|
130
130
|
Resolves a provider from the composition context.
|
|
131
131
|
|
|
@@ -155,7 +155,7 @@ The resolved provider instance.
|
|
|
155
155
|
tryGetConfigValue<T>(key, fallback): T;
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
-
Defined in: composition/context/ICompositionContext.ts:77
|
|
158
|
+
Defined in: [composition/context/ICompositionContext.ts:77](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/context/ICompositionContext.ts#L77)
|
|
159
159
|
|
|
160
160
|
Reads an optional configuration value with a fallback.
|
|
161
161
|
|
|
@@ -5,7 +5,7 @@ editUrl: false
|
|
|
5
5
|
---
|
|
6
6
|
# Interface: ICreateCompositionContextOptions
|
|
7
7
|
|
|
8
|
-
Defined in: composition/factory/createCompositionContext.ts:17
|
|
8
|
+
Defined in: [composition/factory/createCompositionContext.ts:17](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/factory/createCompositionContext.ts#L17)
|
|
9
9
|
|
|
10
10
|
Options for creating the composition context.
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@ Options for creating the composition context.
|
|
|
17
17
|
readonly optional enableLogging?: boolean;
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
Defined in: composition/factory/createCompositionContext.ts:49
|
|
20
|
+
Defined in: [composition/factory/createCompositionContext.ts:49](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/factory/createCompositionContext.ts#L49)
|
|
21
21
|
|
|
22
22
|
Whether to enable logging for the composition context.
|
|
23
23
|
|
|
@@ -31,7 +31,7 @@ Defaults to `false` to keep composition silent.
|
|
|
31
31
|
readonly optional module?: Type<unknown>;
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
Defined in: composition/factory/createCompositionContext.ts:40
|
|
34
|
+
Defined in: [composition/factory/createCompositionContext.ts:40](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/factory/createCompositionContext.ts#L40)
|
|
35
35
|
|
|
36
36
|
Custom composition module to use instead of the default [CompositionModule](Class.CompositionModule).
|
|
37
37
|
|
|
@@ -5,7 +5,7 @@ editUrl: false
|
|
|
5
5
|
---
|
|
6
6
|
# Interface: IProviderDecision
|
|
7
7
|
|
|
8
|
-
Defined in: composition/types/IProviderDecision.ts:12
|
|
8
|
+
Defined in: [composition/types/IProviderDecision.ts:12](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/types/IProviderDecision.ts#L12)
|
|
9
9
|
|
|
10
10
|
Represents the result of a provider composition decision.
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@ Represents the result of a provider composition decision.
|
|
|
17
17
|
readonly imports: readonly CompositionImport[];
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
Defined in: composition/types/IProviderDecision.ts:27
|
|
20
|
+
Defined in: [composition/types/IProviderDecision.ts:27](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/types/IProviderDecision.ts#L27)
|
|
21
21
|
|
|
22
22
|
The modules to import when [shouldImport](#shouldimport) is `true`.
|
|
23
23
|
|
|
@@ -31,6 +31,6 @@ When [shouldImport](#shouldimport) is `false`, this array should be empty or omi
|
|
|
31
31
|
readonly shouldImport: boolean;
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
Defined in: composition/types/IProviderDecision.ts:18
|
|
34
|
+
Defined in: [composition/types/IProviderDecision.ts:18](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/types/IProviderDecision.ts#L18)
|
|
35
35
|
|
|
36
36
|
Whether the provider should be imported into the application module graph.
|
|
@@ -13,7 +13,7 @@ type CompositionImport =
|
|
|
13
13
|
| ForwardReference<unknown>;
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Defined in: composition/types/CompositionImport.ts:14
|
|
16
|
+
Defined in: [composition/types/CompositionImport.ts:14](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/types/CompositionImport.ts#L14)
|
|
17
17
|
|
|
18
18
|
Represents a valid NestJS module import that can be used during composition.
|
|
19
19
|
|
|
@@ -9,7 +9,7 @@ editUrl: false
|
|
|
9
9
|
type ProviderComposer<TContext> = (context) => Promise<IProviderDecision>;
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
Defined in: composition/types/ProviderComposer.ts:37
|
|
12
|
+
Defined in: [composition/types/ProviderComposer.ts:37](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/composition/types/ProviderComposer.ts#L37)
|
|
13
13
|
|
|
14
14
|
Function signature for a provider composer.
|
|
15
15
|
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Class: IntelligenceAgentFactory'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Class: IntelligenceAgentFactory
|
|
7
|
+
|
|
8
|
+
Defined in: IntelligenceAgentFactory.ts:15
|
|
9
|
+
|
|
10
|
+
Creates AI SDK 7 tool-loop agents with platform-registered tools merged in.
|
|
11
|
+
|
|
12
|
+
## Constructors
|
|
13
|
+
|
|
14
|
+
### Constructor
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
new IntelligenceAgentFactory(toolRegistry): IntelligenceAgentFactory;
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Defined in: IntelligenceAgentFactory.ts:24
|
|
21
|
+
|
|
22
|
+
#### Parameters
|
|
23
|
+
|
|
24
|
+
| Parameter | Type |
|
|
25
|
+
| ------ | ------ |
|
|
26
|
+
| `toolRegistry` | [`IntelligenceToolRegistry`](Class.IntelligenceToolRegistry) |
|
|
27
|
+
|
|
28
|
+
#### Returns
|
|
29
|
+
|
|
30
|
+
`IntelligenceAgentFactory`
|
|
31
|
+
|
|
32
|
+
## Methods
|
|
33
|
+
|
|
34
|
+
### createToolLoopAgent()
|
|
35
|
+
|
|
36
|
+
```ts
|
|
37
|
+
createToolLoopAgent<TOOLS, RUNTIME_CONTEXT>(settings): ToolLoopAgent<never, TOOLS, RUNTIME_CONTEXT, never>;
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Defined in: IntelligenceAgentFactory.ts:46
|
|
41
|
+
|
|
42
|
+
Creates a native AI SDK `ToolLoopAgent`.
|
|
43
|
+
|
|
44
|
+
Registered platform tools are merged before request-specific tools, so
|
|
45
|
+
request-specific tools can intentionally override a platform tool name.
|
|
46
|
+
|
|
47
|
+
#### Type Parameters
|
|
48
|
+
|
|
49
|
+
| Type Parameter | Default type |
|
|
50
|
+
| ------ | ------ |
|
|
51
|
+
| `TOOLS` *extends* `ToolSet` | `ToolSet` |
|
|
52
|
+
| `RUNTIME_CONTEXT` *extends* `Record`\<`string`, `unknown`\> | `Record`\<`string`, `unknown`\> |
|
|
53
|
+
|
|
54
|
+
#### Parameters
|
|
55
|
+
|
|
56
|
+
| Parameter | Type | Description |
|
|
57
|
+
| ------ | ------ | ------ |
|
|
58
|
+
| `settings` | `ToolLoopAgentSettings`\<`never`, `TOOLS`, `RUNTIME_CONTEXT`, `never`\> | Native AI SDK tool-loop agent settings. |
|
|
59
|
+
|
|
60
|
+
#### Returns
|
|
61
|
+
|
|
62
|
+
`ToolLoopAgent`\<`never`, `TOOLS`, `RUNTIME_CONTEXT`, `never`\>
|
|
63
|
+
|
|
64
|
+
A configured AI SDK tool-loop agent.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Class: IntelligenceEmbeddingGenerator'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Class: IntelligenceEmbeddingGenerator
|
|
7
|
+
|
|
8
|
+
Defined in: IntelligenceEmbeddingGenerator.ts:14
|
|
9
|
+
|
|
10
|
+
Executes AI SDK embedding operations.
|
|
11
|
+
|
|
12
|
+
## Constructors
|
|
13
|
+
|
|
14
|
+
### Constructor
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
new IntelligenceEmbeddingGenerator(): IntelligenceEmbeddingGenerator;
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
#### Returns
|
|
21
|
+
|
|
22
|
+
`IntelligenceEmbeddingGenerator`
|
|
23
|
+
|
|
24
|
+
## Methods
|
|
25
|
+
|
|
26
|
+
### embed()
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
embed(options): Promise<EmbedResult>;
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Defined in: IntelligenceEmbeddingGenerator.ts:36
|
|
33
|
+
|
|
34
|
+
Embeds a single value.
|
|
35
|
+
|
|
36
|
+
#### Parameters
|
|
37
|
+
|
|
38
|
+
| Parameter | Type | Description |
|
|
39
|
+
| ------ | ------ | ------ |
|
|
40
|
+
| `options` | \{ \} | Native AI SDK `embed()` options. |
|
|
41
|
+
|
|
42
|
+
#### Returns
|
|
43
|
+
|
|
44
|
+
`Promise`\<`EmbedResult`\>
|
|
45
|
+
|
|
46
|
+
The native AI SDK embedding result.
|
|
47
|
+
|
|
48
|
+
***
|
|
49
|
+
|
|
50
|
+
### embedMany()
|
|
51
|
+
|
|
52
|
+
```ts
|
|
53
|
+
embedMany(options): Promise<EmbedManyResult>;
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Defined in: IntelligenceEmbeddingGenerator.ts:47
|
|
57
|
+
|
|
58
|
+
Embeds multiple values.
|
|
59
|
+
|
|
60
|
+
#### Parameters
|
|
61
|
+
|
|
62
|
+
| Parameter | Type | Description |
|
|
63
|
+
| ------ | ------ | ------ |
|
|
64
|
+
| `options` | \{ \} | Native AI SDK `embedMany()` options. |
|
|
65
|
+
|
|
66
|
+
#### Returns
|
|
67
|
+
|
|
68
|
+
`Promise`\<`EmbedManyResult`\>
|
|
69
|
+
|
|
70
|
+
The native AI SDK embedding result.
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Class: IntelligenceMediaGenerator'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Class: IntelligenceMediaGenerator
|
|
7
|
+
|
|
8
|
+
Defined in: IntelligenceMediaGenerator.ts:14
|
|
9
|
+
|
|
10
|
+
Executes AI SDK media generation and understanding operations.
|
|
11
|
+
|
|
12
|
+
## Constructors
|
|
13
|
+
|
|
14
|
+
### Constructor
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
new IntelligenceMediaGenerator(): IntelligenceMediaGenerator;
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
#### Returns
|
|
21
|
+
|
|
22
|
+
`IntelligenceMediaGenerator`
|
|
23
|
+
|
|
24
|
+
## Methods
|
|
25
|
+
|
|
26
|
+
### generateImage()
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
generateImage(options): Promise<GenerateImageResult>;
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Defined in: IntelligenceMediaGenerator.ts:36
|
|
33
|
+
|
|
34
|
+
Generates images using the native AI SDK image API.
|
|
35
|
+
|
|
36
|
+
#### Parameters
|
|
37
|
+
|
|
38
|
+
| Parameter | Type | Description |
|
|
39
|
+
| ------ | ------ | ------ |
|
|
40
|
+
| `options` | \{ \} | Native AI SDK `generateImage()` options. |
|
|
41
|
+
|
|
42
|
+
#### Returns
|
|
43
|
+
|
|
44
|
+
`Promise`\<`GenerateImageResult`\>
|
|
45
|
+
|
|
46
|
+
The native AI SDK image-generation result.
|
|
47
|
+
|
|
48
|
+
***
|
|
49
|
+
|
|
50
|
+
### generateSpeech()
|
|
51
|
+
|
|
52
|
+
```ts
|
|
53
|
+
generateSpeech(options): Promise<SpeechResult>;
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Defined in: IntelligenceMediaGenerator.ts:47
|
|
57
|
+
|
|
58
|
+
Generates speech using the native AI SDK speech API.
|
|
59
|
+
|
|
60
|
+
#### Parameters
|
|
61
|
+
|
|
62
|
+
| Parameter | Type | Description |
|
|
63
|
+
| ------ | ------ | ------ |
|
|
64
|
+
| `options` | \{ \} | Native AI SDK `generateSpeech()` options. |
|
|
65
|
+
|
|
66
|
+
#### Returns
|
|
67
|
+
|
|
68
|
+
`Promise`\<`SpeechResult`\>
|
|
69
|
+
|
|
70
|
+
The native AI SDK speech-generation result.
|
|
71
|
+
|
|
72
|
+
***
|
|
73
|
+
|
|
74
|
+
### generateVideo()
|
|
75
|
+
|
|
76
|
+
```ts
|
|
77
|
+
generateVideo(options): Promise<GenerateVideoResult>;
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Defined in: IntelligenceMediaGenerator.ts:69
|
|
81
|
+
|
|
82
|
+
Generates videos using the AI SDK experimental video API.
|
|
83
|
+
|
|
84
|
+
#### Parameters
|
|
85
|
+
|
|
86
|
+
| Parameter | Type | Description |
|
|
87
|
+
| ------ | ------ | ------ |
|
|
88
|
+
| `options` | \{ \} | Native AI SDK `experimental_generateVideo()` options. |
|
|
89
|
+
|
|
90
|
+
#### Returns
|
|
91
|
+
|
|
92
|
+
`Promise`\<`GenerateVideoResult`\>
|
|
93
|
+
|
|
94
|
+
The native AI SDK video-generation result.
|
|
95
|
+
|
|
96
|
+
***
|
|
97
|
+
|
|
98
|
+
### transcribe()
|
|
99
|
+
|
|
100
|
+
```ts
|
|
101
|
+
transcribe(options): Promise<TranscriptionResult>;
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Defined in: IntelligenceMediaGenerator.ts:58
|
|
105
|
+
|
|
106
|
+
Transcribes audio using the native AI SDK transcription API.
|
|
107
|
+
|
|
108
|
+
#### Parameters
|
|
109
|
+
|
|
110
|
+
| Parameter | Type | Description |
|
|
111
|
+
| ------ | ------ | ------ |
|
|
112
|
+
| `options` | \{ \} | Native AI SDK `transcribe()` options. |
|
|
113
|
+
|
|
114
|
+
#### Returns
|
|
115
|
+
|
|
116
|
+
`Promise`\<`TranscriptionResult`\>
|
|
117
|
+
|
|
118
|
+
The native AI SDK transcription result.
|
|
@@ -5,7 +5,7 @@ editUrl: false
|
|
|
5
5
|
---
|
|
6
6
|
# Class: IntelligenceModule
|
|
7
7
|
|
|
8
|
-
Defined in: [IntelligenceModule.ts:
|
|
8
|
+
Defined in: [IntelligenceModule.ts:51](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-intelligence/src/IntelligenceModule.ts#L51)
|
|
9
9
|
|
|
10
10
|
Core module exposing the shared intelligence infrastructure.
|
|
11
11
|
|
|
@@ -29,7 +29,7 @@ new IntelligenceModule(): IntelligenceModule;
|
|
|
29
29
|
static register(options?): DynamicModule;
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Defined in: [IntelligenceModule.ts:
|
|
32
|
+
Defined in: [IntelligenceModule.ts:62](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-intelligence/src/IntelligenceModule.ts#L62)
|
|
33
33
|
|
|
34
34
|
Registers the intelligence module and optional class-based tools.
|
|
35
35
|
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Class: IntelligenceProviderAssetUploader'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Class: IntelligenceProviderAssetUploader
|
|
7
|
+
|
|
8
|
+
Defined in: IntelligenceProviderAssetUploader.ts:14
|
|
9
|
+
|
|
10
|
+
Uploads provider-managed files and skills for reuse in AI SDK calls.
|
|
11
|
+
|
|
12
|
+
## Constructors
|
|
13
|
+
|
|
14
|
+
### Constructor
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
new IntelligenceProviderAssetUploader(): IntelligenceProviderAssetUploader;
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
#### Returns
|
|
21
|
+
|
|
22
|
+
`IntelligenceProviderAssetUploader`
|
|
23
|
+
|
|
24
|
+
## Methods
|
|
25
|
+
|
|
26
|
+
### uploadFile()
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
uploadFile(options): Promise<UploadFileResult>;
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Defined in: IntelligenceProviderAssetUploader.ts:36
|
|
33
|
+
|
|
34
|
+
Uploads a provider-managed file.
|
|
35
|
+
|
|
36
|
+
#### Parameters
|
|
37
|
+
|
|
38
|
+
| Parameter | Type | Description |
|
|
39
|
+
| ------ | ------ | ------ |
|
|
40
|
+
| `options` | \{ \} & `Omit`\<`FilesV4UploadFileCallOptions`, `"mediaType"` \| `"data"`\> & \{ \} | Native AI SDK `uploadFile()` options. |
|
|
41
|
+
|
|
42
|
+
#### Returns
|
|
43
|
+
|
|
44
|
+
`Promise`\<`UploadFileResult`\>
|
|
45
|
+
|
|
46
|
+
The native AI SDK upload result.
|
|
47
|
+
|
|
48
|
+
***
|
|
49
|
+
|
|
50
|
+
### uploadSkill()
|
|
51
|
+
|
|
52
|
+
```ts
|
|
53
|
+
uploadSkill(options): Promise<UploadSkillResult>;
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Defined in: IntelligenceProviderAssetUploader.ts:47
|
|
57
|
+
|
|
58
|
+
Uploads a provider-managed skill.
|
|
59
|
+
|
|
60
|
+
#### Parameters
|
|
61
|
+
|
|
62
|
+
| Parameter | Type | Description |
|
|
63
|
+
| ------ | ------ | ------ |
|
|
64
|
+
| `options` | \{ \} & `Omit`\<`SkillsV4UploadSkillCallOptions`, `"files"`\> & \{ \} | Native AI SDK `uploadSkill()` options. |
|
|
65
|
+
|
|
66
|
+
#### Returns
|
|
67
|
+
|
|
68
|
+
`Promise`\<`UploadSkillResult`\>
|
|
69
|
+
|
|
70
|
+
The native AI SDK upload result.
|