@genesislcap/foundation-ai 14.408.0 → 14.409.0

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.
Files changed (120) hide show
  1. package/package.json +11 -11
  2. package/docs/api/foundation-ai.ai_feature_flag.md +0 -13
  3. package/docs/api/foundation-ai.aiconfig.md +0 -18
  4. package/docs/api/foundation-ai.aiprovider.chat.md +0 -85
  5. package/docs/api/foundation-ai.aiprovider.getstatus.md +0 -20
  6. package/docs/api/foundation-ai.aiprovider.interpretcriteria.md +0 -67
  7. package/docs/api/foundation-ai.aiprovider.md +0 -91
  8. package/docs/api/foundation-ai.aiprovider.streamchat.md +0 -85
  9. package/docs/api/foundation-ai.aiprovider.triggerdownload.md +0 -20
  10. package/docs/api/foundation-ai.aiprovidertype.md +0 -16
  11. package/docs/api/foundation-ai.aistatus.chromeavailability.md +0 -14
  12. package/docs/api/foundation-ai.aistatus.md +0 -99
  13. package/docs/api/foundation-ai.aistatus.model.md +0 -14
  14. package/docs/api/foundation-ai.aistatus.provider.md +0 -14
  15. package/docs/api/foundation-ai.chatanimationsconfig.enabled.md +0 -16
  16. package/docs/api/foundation-ai.chatanimationsconfig.md +0 -80
  17. package/docs/api/foundation-ai.chatanimationsconfig.userconfigurable.md +0 -16
  18. package/docs/api/foundation-ai.chatattachment.content.md +0 -14
  19. package/docs/api/foundation-ai.chatattachment.md +0 -99
  20. package/docs/api/foundation-ai.chatattachment.mimetype.md +0 -14
  21. package/docs/api/foundation-ai.chatattachment.name.md +0 -14
  22. package/docs/api/foundation-ai.chatconfig.acceptedfiles.md +0 -16
  23. package/docs/api/foundation-ai.chatconfig.allowdebugdownload.md +0 -16
  24. package/docs/api/foundation-ai.chatconfig.animations.md +0 -16
  25. package/docs/api/foundation-ai.chatconfig.loadingdelay.md +0 -16
  26. package/docs/api/foundation-ai.chatconfig.maxtooliterations.md +0 -16
  27. package/docs/api/foundation-ai.chatconfig.md +0 -177
  28. package/docs/api/foundation-ai.chatconfig.showthinkingsteps.md +0 -16
  29. package/docs/api/foundation-ai.chatconfig.showtoolcalls.md +0 -16
  30. package/docs/api/foundation-ai.chatinteraction.componentname.md +0 -14
  31. package/docs/api/foundation-ai.chatinteraction.data.md +0 -14
  32. package/docs/api/foundation-ai.chatinteraction.interactionid.md +0 -14
  33. package/docs/api/foundation-ai.chatinteraction.md +0 -118
  34. package/docs/api/foundation-ai.chatinteraction.resolved.md +0 -16
  35. package/docs/api/foundation-ai.chatmessage.attachments.md +0 -14
  36. package/docs/api/foundation-ai.chatmessage.content.md +0 -14
  37. package/docs/api/foundation-ai.chatmessage.interaction.md +0 -14
  38. package/docs/api/foundation-ai.chatmessage.md +0 -175
  39. package/docs/api/foundation-ai.chatmessage.role.md +0 -14
  40. package/docs/api/foundation-ai.chatmessage.thinking.md +0 -14
  41. package/docs/api/foundation-ai.chatmessage.toolcalls.md +0 -14
  42. package/docs/api/foundation-ai.chatmessage.toolresult.md +0 -14
  43. package/docs/api/foundation-ai.chatrequestoptions.attachments.md +0 -14
  44. package/docs/api/foundation-ai.chatrequestoptions.md +0 -118
  45. package/docs/api/foundation-ai.chatrequestoptions.signal.md +0 -14
  46. package/docs/api/foundation-ai.chatrequestoptions.systemprompt.md +0 -14
  47. package/docs/api/foundation-ai.chatrequestoptions.tools.md +0 -14
  48. package/docs/api/foundation-ai.chatrole.md +0 -16
  49. package/docs/api/foundation-ai.chatstreamchunk.delta.md +0 -14
  50. package/docs/api/foundation-ai.chatstreamchunk.done.md +0 -14
  51. package/docs/api/foundation-ai.chatstreamchunk.md +0 -99
  52. package/docs/api/foundation-ai.chatstreamchunk.toolcalls.md +0 -14
  53. package/docs/api/foundation-ai.chattoolcall.args.md +0 -14
  54. package/docs/api/foundation-ai.chattoolcall.id.md +0 -14
  55. package/docs/api/foundation-ai.chattoolcall.md +0 -99
  56. package/docs/api/foundation-ai.chattoolcall.name.md +0 -14
  57. package/docs/api/foundation-ai.chattooldefinition.description.md +0 -14
  58. package/docs/api/foundation-ai.chattooldefinition.md +0 -99
  59. package/docs/api/foundation-ai.chattooldefinition.name.md +0 -14
  60. package/docs/api/foundation-ai.chattooldefinition.parameters.md +0 -14
  61. package/docs/api/foundation-ai.chattoolhandlers.md +0 -18
  62. package/docs/api/foundation-ai.chattoolresult.content.md +0 -14
  63. package/docs/api/foundation-ai.chattoolresult.md +0 -80
  64. package/docs/api/foundation-ai.chattoolresult.toolcallid.md +0 -14
  65. package/docs/api/foundation-ai.chattransport.md +0 -58
  66. package/docs/api/foundation-ai.chattransport.sendchatmessage.md +0 -83
  67. package/docs/api/foundation-ai.chattransport.streamchatmessage.md +0 -83
  68. package/docs/api/foundation-ai.chromeaiconfig.md +0 -104
  69. package/docs/api/foundation-ai.chromeaiconfig.providertype.md +0 -14
  70. package/docs/api/foundation-ai.chromeaiconfig.temperature.md +0 -14
  71. package/docs/api/foundation-ai.chromeaiconfig.topk.md +0 -14
  72. package/docs/api/foundation-ai.chromeavailability.md +0 -16
  73. package/docs/api/foundation-ai.createaiprovider.md +0 -57
  74. package/docs/api/foundation-ai.criteriaclauseresult.field.md +0 -14
  75. package/docs/api/foundation-ai.criteriaclauseresult.md +0 -99
  76. package/docs/api/foundation-ai.criteriaclauseresult.operator.md +0 -14
  77. package/docs/api/foundation-ai.criteriaclauseresult.value.md +0 -14
  78. package/docs/api/foundation-ai.criteriagroupresult.clauses.md +0 -14
  79. package/docs/api/foundation-ai.criteriagroupresult.logic.md +0 -14
  80. package/docs/api/foundation-ai.criteriagroupresult.md +0 -99
  81. package/docs/api/foundation-ai.criteriagroupresult.negated.md +0 -14
  82. package/docs/api/foundation-ai.criteriainterpretationresult.groups.md +0 -14
  83. package/docs/api/foundation-ai.criteriainterpretationresult.md +0 -61
  84. package/docs/api/foundation-ai.criteriainterpretcontext.fields.md +0 -14
  85. package/docs/api/foundation-ai.criteriainterpretcontext.md +0 -61
  86. package/docs/api/foundation-ai.fieldlike.md +0 -21
  87. package/docs/api/foundation-ai.geminiaiconfig.apikey.md +0 -14
  88. package/docs/api/foundation-ai.geminiaiconfig.md +0 -123
  89. package/docs/api/foundation-ai.geminiaiconfig.model.md +0 -14
  90. package/docs/api/foundation-ai.geminiaiconfig.providertype.md +0 -14
  91. package/docs/api/foundation-ai.geminiaiconfig.serverendpoint.md +0 -14
  92. package/docs/api/foundation-ai.geminiprovider._constructor_.md +0 -65
  93. package/docs/api/foundation-ai.geminiprovider.chat.md +0 -83
  94. package/docs/api/foundation-ai.geminiprovider.getstatus.md +0 -18
  95. package/docs/api/foundation-ai.geminiprovider.interpretcriteria.md +0 -67
  96. package/docs/api/foundation-ai.geminiprovider.md +0 -128
  97. package/docs/api/foundation-ai.geminiprovider.streamchat.md +0 -83
  98. package/docs/api/foundation-ai.geminitransport._constructor_.md +0 -53
  99. package/docs/api/foundation-ai.geminitransport.getconfig.md +0 -21
  100. package/docs/api/foundation-ai.geminitransport.md +0 -116
  101. package/docs/api/foundation-ai.geminitransport.sendchatmessage.md +0 -83
  102. package/docs/api/foundation-ai.geminitransport.sendstructuredprompt.md +0 -53
  103. package/docs/api/foundation-ai.getaiprovider.md +0 -35
  104. package/docs/api/foundation-ai.interactionresult.md +0 -20
  105. package/docs/api/foundation-ai.isaifeatureenabled.md +0 -17
  106. package/docs/api/foundation-ai.isspeechrecognitionavailable.md +0 -20
  107. package/docs/api/foundation-ai.malformedfunctioncallerror._constructor_.md +0 -53
  108. package/docs/api/foundation-ai.malformedfunctioncallerror.finishmessage.md +0 -14
  109. package/docs/api/foundation-ai.malformedfunctioncallerror.md +0 -98
  110. package/docs/api/foundation-ai.md +0 -503
  111. package/docs/api/foundation-ai.resolveaiconfig.md +0 -57
  112. package/docs/api/foundation-ai.resolveaiconfigoptions.md +0 -99
  113. package/docs/api/foundation-ai.resolveaiconfigoptions.model.md +0 -16
  114. package/docs/api/foundation-ai.resolveaiconfigoptions.preferchrome.md +0 -16
  115. package/docs/api/foundation-ai.resolveaiconfigoptions.provider.md +0 -16
  116. package/docs/api/foundation-ai.serveraiconfig.md +0 -66
  117. package/docs/api/foundation-ai.serveraiconfig.provider.md +0 -14
  118. package/docs/api/foundation-ai.startspeechrecognition.md +0 -71
  119. package/docs/api/index.md +0 -30
  120. package/docs/api-report.md.api.md +0 -317
@@ -1,66 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-ai](./foundation-ai.md) &gt; [ServerAIConfig](./foundation-ai.serveraiconfig.md)
4
-
5
- ## ServerAIConfig interface
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Server-proxy AI configuration (client calls your server; server calls the provider).
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export interface ServerAIConfig extends AIProviderConfig
16
- ```
17
- **Extends:** AIProviderConfig
18
-
19
- ## Remarks
20
-
21
- API key stays on the server. URL is derived from API\_HOST at /ai-service/chat-completions. Use provider to select backend (openai, anthropic, etc.).
22
-
23
- ## Properties
24
-
25
- <table><thead><tr><th>
26
-
27
- Property
28
-
29
-
30
- </th><th>
31
-
32
- Modifiers
33
-
34
-
35
- </th><th>
36
-
37
- Type
38
-
39
-
40
- </th><th>
41
-
42
- Description
43
-
44
-
45
- </th></tr></thead>
46
- <tbody><tr><td>
47
-
48
- [provider](./foundation-ai.serveraiconfig.provider.md)
49
-
50
-
51
- </td><td>
52
-
53
-
54
- </td><td>
55
-
56
- ServerAIProviderType
57
-
58
-
59
- </td><td>
60
-
61
- **_(BETA)_**
62
-
63
-
64
- </td></tr>
65
- </tbody></table>
66
-
@@ -1,14 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-ai](./foundation-ai.md) &gt; [ServerAIConfig](./foundation-ai.serveraiconfig.md) &gt; [provider](./foundation-ai.serveraiconfig.provider.md)
4
-
5
- ## ServerAIConfig.provider property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- provider: ServerAIProviderType;
14
- ```
@@ -1,71 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-ai](./foundation-ai.md) &gt; [startSpeechRecognition](./foundation-ai.startspeechrecognition.md)
4
-
5
- ## startSpeechRecognition() function
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Starts continuous speech recognition, calling `onResult` with each transcript update. Returns a stop function, or null if speech recognition is unavailable.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export declare function startSpeechRecognition(onResult: SpeechRecognitionResultHandler, onError?: SpeechRecognitionErrorHandler): (() => void) | null;
16
- ```
17
-
18
- ## Parameters
19
-
20
- <table><thead><tr><th>
21
-
22
- Parameter
23
-
24
-
25
- </th><th>
26
-
27
- Type
28
-
29
-
30
- </th><th>
31
-
32
- Description
33
-
34
-
35
- </th></tr></thead>
36
- <tbody><tr><td>
37
-
38
- onResult
39
-
40
-
41
- </td><td>
42
-
43
- SpeechRecognitionResultHandler
44
-
45
-
46
- </td><td>
47
-
48
-
49
- </td></tr>
50
- <tr><td>
51
-
52
- onError
53
-
54
-
55
- </td><td>
56
-
57
- SpeechRecognitionErrorHandler
58
-
59
-
60
- </td><td>
61
-
62
- _(Optional)_
63
-
64
-
65
- </td></tr>
66
- </tbody></table>
67
-
68
- **Returns:**
69
-
70
- (() =&gt; void) \| null
71
-
package/docs/api/index.md DELETED
@@ -1,30 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md)
4
-
5
- ## API Reference
6
-
7
- ## Packages
8
-
9
- <table><thead><tr><th>
10
-
11
- Package
12
-
13
-
14
- </th><th>
15
-
16
- Description
17
-
18
-
19
- </th></tr></thead>
20
- <tbody><tr><td>
21
-
22
- [@genesislcap/foundation-ai](./foundation-ai.md)
23
-
24
-
25
- </td><td>
26
-
27
-
28
- </td></tr>
29
- </tbody></table>
30
-
@@ -1,317 +0,0 @@
1
- ## API Report File for "@genesislcap/foundation-ai"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { InterfaceSymbol } from '@microsoft/fast-foundation';
8
-
9
- // @public
10
- export const AI_FEATURE_FLAG = "ai";
11
-
12
- // @beta
13
- export type AIConfig = ServerAIConfig | ChromeAIConfig | GeminiAIConfig;
14
-
15
- // Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "AIProvider" because one of its declarations is marked as @internal
16
- //
17
- // @beta
18
- export interface AIProvider {
19
- chat?(history: ChatMessage[], userMessage: string, options?: ChatRequestOptions): Promise<ChatMessage>;
20
- getStatus?(): Promise<AIStatus | null>;
21
- // (undocumented)
22
- interpretCriteria?(input: string, context: CriteriaInterpretContext): Promise<CriteriaInterpretationResult | null>;
23
- streamChat?(history: ChatMessage[], userMessage: string, options?: ChatRequestOptions): AsyncIterable<ChatStreamChunk>;
24
- triggerDownload?(): Promise<void>;
25
- }
26
-
27
- // @internal
28
- export const AIProvider: InterfaceSymbol<AIProvider>;
29
-
30
- // @beta
31
- export type AIProviderType = 'openai' | 'chrome' | 'gemini' | 'none';
32
-
33
- // @beta
34
- export interface AIStatus {
35
- // (undocumented)
36
- chromeAvailability?: ChromeAvailability;
37
- // (undocumented)
38
- model: string;
39
- // (undocumented)
40
- provider: AIProviderType;
41
- }
42
-
43
- // @beta
44
- export interface ChatAnimationsConfig {
45
- enabled?: string[];
46
- userConfigurable: boolean;
47
- }
48
-
49
- // @beta
50
- export interface ChatAttachment {
51
- // (undocumented)
52
- content: string;
53
- // (undocumented)
54
- mimeType: string;
55
- // (undocumented)
56
- name: string;
57
- }
58
-
59
- // @beta
60
- export interface ChatConfig {
61
- acceptedFiles?: string;
62
- allowDebugDownload?: boolean;
63
- animations?: ChatAnimationsConfig;
64
- loadingDelay?: number;
65
- maxToolIterations?: number;
66
- showThinkingSteps?: boolean | null;
67
- showToolCalls?: boolean | null;
68
- }
69
-
70
- // @beta
71
- export interface ChatInteraction {
72
- // (undocumented)
73
- componentName: string;
74
- // (undocumented)
75
- data: any;
76
- // (undocumented)
77
- interactionId: string;
78
- resolved?: boolean;
79
- }
80
-
81
- // @beta
82
- export interface ChatMessage {
83
- // (undocumented)
84
- attachments?: ChatAttachment[];
85
- // (undocumented)
86
- content: string;
87
- // (undocumented)
88
- interaction?: ChatInteraction;
89
- // (undocumented)
90
- role: ChatRole;
91
- // (undocumented)
92
- thinking?: boolean;
93
- // (undocumented)
94
- toolCalls?: ChatToolCall[];
95
- // (undocumented)
96
- toolResult?: ChatToolResult;
97
- }
98
-
99
- // @beta
100
- export interface ChatRequestOptions {
101
- // (undocumented)
102
- attachments?: ChatAttachment[];
103
- // (undocumented)
104
- signal?: AbortSignal;
105
- // (undocumented)
106
- systemPrompt?: string;
107
- // (undocumented)
108
- tools?: ChatToolDefinition[];
109
- }
110
-
111
- // @beta
112
- export type ChatRole = 'user' | 'assistant' | 'system' | 'tool';
113
-
114
- // @beta
115
- export interface ChatStreamChunk {
116
- // (undocumented)
117
- delta: string;
118
- // (undocumented)
119
- done: boolean;
120
- // (undocumented)
121
- toolCalls?: ChatToolCall[];
122
- }
123
-
124
- // @beta
125
- export interface ChatToolCall {
126
- // (undocumented)
127
- args: Record<string, unknown>;
128
- // (undocumented)
129
- id: string;
130
- // (undocumented)
131
- name: string;
132
- }
133
-
134
- // @beta
135
- export interface ChatToolDefinition {
136
- // (undocumented)
137
- description: string;
138
- // (undocumented)
139
- name: string;
140
- // (undocumented)
141
- parameters: Record<string, unknown>;
142
- }
143
-
144
- // @beta
145
- export type ChatToolHandlers = Record<string, (args: Record<string, unknown>, context: {
146
- requestInteraction: <T = unknown>(componentName: string, data: any) => Promise<T>;
147
- }) => Promise<unknown>>;
148
-
149
- // @beta
150
- export interface ChatToolResult {
151
- // (undocumented)
152
- content: string;
153
- // (undocumented)
154
- toolCallId: string;
155
- }
156
-
157
- // @beta
158
- export interface ChatTransport {
159
- // (undocumented)
160
- sendChatMessage(history: ChatMessage[], userMessage: string, options?: ChatRequestOptions): Promise<ChatMessage>;
161
- // (undocumented)
162
- streamChatMessage?(history: ChatMessage[], userMessage: string, options?: ChatRequestOptions): AsyncIterable<ChatStreamChunk>;
163
- }
164
-
165
- // Warning: (ae-forgotten-export) The symbol "AIProviderConfig" needs to be exported by the entry point index.d.ts
166
- //
167
- // @beta
168
- export interface ChromeAIConfig extends AIProviderConfig {
169
- // (undocumented)
170
- providerType?: 'chrome';
171
- // (undocumented)
172
- temperature?: number;
173
- // (undocumented)
174
- topK?: number;
175
- }
176
-
177
- // @beta
178
- export type ChromeAvailability = 'available' | 'downloading' | 'downloadable' | 'unavailable';
179
-
180
- // @beta
181
- export function createAIProvider(config?: AIConfig | null): AIProvider;
182
-
183
- // @beta
184
- export interface CriteriaClauseResult {
185
- // (undocumented)
186
- field: string;
187
- // (undocumented)
188
- operator: string;
189
- // (undocumented)
190
- value: string | number | boolean | null;
191
- }
192
-
193
- // @beta
194
- export interface CriteriaGroupResult {
195
- // (undocumented)
196
- clauses: CriteriaClauseResult[];
197
- // (undocumented)
198
- logic: 'and' | 'or';
199
- // (undocumented)
200
- negated?: boolean;
201
- }
202
-
203
- // @beta
204
- export interface CriteriaInterpretationResult {
205
- // (undocumented)
206
- groups: CriteriaGroupResult[];
207
- }
208
-
209
- // @beta
210
- export interface CriteriaInterpretContext {
211
- // (undocumented)
212
- fields?: FieldLike[];
213
- }
214
-
215
- // @beta
216
- export type FieldLike = string | {
217
- name?: string;
218
- field?: string;
219
- label?: string;
220
- NAME?: string;
221
- };
222
-
223
- // @beta
224
- export interface GeminiAIConfig extends AIProviderConfig {
225
- // (undocumented)
226
- apiKey?: string;
227
- // (undocumented)
228
- model?: string;
229
- // (undocumented)
230
- providerType: 'gemini';
231
- // (undocumented)
232
- serverEndpoint?: string;
233
- }
234
-
235
- // @beta
236
- export class GeminiProvider implements AIProvider {
237
- // Warning: (ae-forgotten-export) The symbol "GeminiProviderConfig" needs to be exported by the entry point index.d.ts
238
- constructor(config: GeminiProviderConfig, transport: GeminiTransport);
239
- // (undocumented)
240
- chat(history: ChatMessage[], userMessage: string, options?: ChatRequestOptions): Promise<ChatMessage>;
241
- // (undocumented)
242
- getStatus(): Promise<AIStatus>;
243
- // (undocumented)
244
- interpretCriteria(input: string, context: CriteriaInterpretContext): Promise<CriteriaInterpretationResult | null>;
245
- // (undocumented)
246
- streamChat(history: ChatMessage[], userMessage: string, options?: ChatRequestOptions): AsyncIterable<ChatStreamChunk>;
247
- }
248
-
249
- // Warning: (ae-forgotten-export) The symbol "AITransport" needs to be exported by the entry point index.d.ts
250
- //
251
- // @beta
252
- export class GeminiTransport implements AITransport, ChatTransport {
253
- // Warning: (ae-forgotten-export) The symbol "GeminiTransportConfig" needs to be exported by the entry point index.d.ts
254
- constructor(config?: GeminiTransportConfig);
255
- // (undocumented)
256
- getConfig(): {
257
- provider: 'gemini';
258
- model: string;
259
- };
260
- // (undocumented)
261
- sendChatMessage(history: ChatMessage[], userMessage: string, options?: ChatRequestOptions): Promise<ChatMessage>;
262
- // Warning: (ae-forgotten-export) The symbol "StructuredPromptOptions" needs to be exported by the entry point index.d.ts
263
- //
264
- // (undocumented)
265
- sendStructuredPrompt(options: StructuredPromptOptions): Promise<string>;
266
- }
267
-
268
- // @beta
269
- export function getAIProvider(): AIProvider;
270
-
271
- // @beta
272
- export type InteractionResult<T = unknown> = {
273
- status: 'approved' | 'rejected';
274
- payload?: T;
275
- message?: string;
276
- };
277
-
278
- // @public
279
- export const isAIFeatureEnabled: () => boolean;
280
-
281
- // @beta
282
- export function isSpeechRecognitionAvailable(): boolean;
283
-
284
- // @beta
285
- export class MalformedFunctionCallError extends Error {
286
- constructor(finishMessage?: string);
287
- // (undocumented)
288
- readonly finishMessage?: string;
289
- }
290
-
291
- // @beta
292
- export function resolveAIConfig(options?: ResolveAIConfigOptions): Promise<AIConfig | null>;
293
-
294
- // @beta
295
- export interface ResolveAIConfigOptions {
296
- model?: string;
297
- preferChrome?: boolean;
298
- provider?: 'openai' | 'gemini';
299
- }
300
-
301
- // @beta
302
- export interface ServerAIConfig extends AIProviderConfig {
303
- // Warning: (ae-forgotten-export) The symbol "ServerAIProviderType" needs to be exported by the entry point index.d.ts
304
- //
305
- // (undocumented)
306
- provider: ServerAIProviderType;
307
- }
308
-
309
- // Warning: (ae-forgotten-export) The symbol "SpeechRecognitionResultHandler" needs to be exported by the entry point index.d.ts
310
- // Warning: (ae-forgotten-export) The symbol "SpeechRecognitionErrorHandler" needs to be exported by the entry point index.d.ts
311
- //
312
- // @beta
313
- export function startSpeechRecognition(onResult: SpeechRecognitionResultHandler, onError?: SpeechRecognitionErrorHandler): (() => void) | null;
314
-
315
- // (No @packageDocumentation comment for this package)
316
-
317
- ```