@genesislcap/foundation-ai 14.407.0-workspaces.4 → 14.408.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.
- package/dist/dts/ai-provider.d.ts +18 -2
- package/dist/dts/ai-provider.d.ts.map +1 -1
- package/dist/dts/index.d.ts +5 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/interactions/criteria-interpretation.d.ts +11 -0
- package/dist/dts/interactions/criteria-interpretation.d.ts.map +1 -1
- package/dist/dts/providers/gemini-provider.d.ts +25 -0
- package/dist/dts/providers/gemini-provider.d.ts.map +1 -0
- package/dist/dts/transports/gemini-transport.d.ts +66 -0
- package/dist/dts/transports/gemini-transport.d.ts.map +1 -0
- package/dist/dts/types/chat-transport.types.d.ts +16 -0
- package/dist/dts/types/chat-transport.types.d.ts.map +1 -0
- package/dist/dts/types/chat.types.d.ts +157 -0
- package/dist/dts/types/chat.types.d.ts.map +1 -0
- package/dist/dts/types/config.types.d.ts +16 -2
- package/dist/dts/types/config.types.d.ts.map +1 -1
- package/dist/dts/types/criteria-types.d.ts +10 -0
- package/dist/dts/types/criteria-types.d.ts.map +1 -1
- package/dist/dts/types/index.d.ts +2 -0
- package/dist/dts/types/index.d.ts.map +1 -1
- package/dist/dts/utils/speech-to-text.d.ts +11 -0
- package/dist/dts/utils/speech-to-text.d.ts.map +1 -1
- package/dist/esm/ai-provider.js +18 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/providers/gemini-provider.js +59 -0
- package/dist/esm/transports/gemini-transport.js +249 -0
- package/dist/esm/types/chat-transport.types.js +1 -0
- package/dist/esm/types/chat.types.js +1 -0
- package/dist/esm/types/index.js +2 -0
- package/dist/esm/utils/speech-to-text.js +11 -0
- package/dist/foundation-ai.api.json +2937 -240
- package/dist/foundation-ai.d.ts +357 -4
- package/docs/api/foundation-ai.aiconfig.md +2 -2
- package/docs/api/foundation-ai.aiprovider.chat.md +85 -0
- package/docs/api/foundation-ai.aiprovider.md +22 -0
- package/docs/api/foundation-ai.aiprovider.streamchat.md +85 -0
- package/docs/api/foundation-ai.aiprovidertype.md +1 -1
- package/docs/api/foundation-ai.chatanimationsconfig.enabled.md +16 -0
- package/docs/api/foundation-ai.chatanimationsconfig.md +80 -0
- package/docs/api/foundation-ai.chatanimationsconfig.userconfigurable.md +16 -0
- package/docs/api/foundation-ai.chatattachment.content.md +14 -0
- package/docs/api/foundation-ai.chatattachment.md +99 -0
- package/docs/api/foundation-ai.chatattachment.mimetype.md +14 -0
- package/docs/api/foundation-ai.chatattachment.name.md +14 -0
- package/docs/api/foundation-ai.chatconfig.acceptedfiles.md +16 -0
- package/docs/api/foundation-ai.chatconfig.allowdebugdownload.md +16 -0
- package/docs/api/foundation-ai.chatconfig.animations.md +16 -0
- package/docs/api/foundation-ai.chatconfig.loadingdelay.md +16 -0
- package/docs/api/foundation-ai.chatconfig.maxtooliterations.md +16 -0
- package/docs/api/foundation-ai.chatconfig.md +177 -0
- package/docs/api/foundation-ai.chatconfig.showthinkingsteps.md +16 -0
- package/docs/api/foundation-ai.chatconfig.showtoolcalls.md +16 -0
- package/docs/api/foundation-ai.chatinteraction.componentname.md +14 -0
- package/docs/api/foundation-ai.chatinteraction.data.md +14 -0
- package/docs/api/foundation-ai.chatinteraction.interactionid.md +14 -0
- package/docs/api/foundation-ai.chatinteraction.md +118 -0
- package/docs/api/foundation-ai.chatinteraction.resolved.md +16 -0
- package/docs/api/foundation-ai.chatmessage.attachments.md +14 -0
- package/docs/api/foundation-ai.chatmessage.content.md +14 -0
- package/docs/api/foundation-ai.chatmessage.interaction.md +14 -0
- package/docs/api/foundation-ai.chatmessage.md +175 -0
- package/docs/api/foundation-ai.chatmessage.role.md +14 -0
- package/docs/api/foundation-ai.chatmessage.thinking.md +14 -0
- package/docs/api/foundation-ai.chatmessage.toolcalls.md +14 -0
- package/docs/api/foundation-ai.chatmessage.toolresult.md +14 -0
- package/docs/api/foundation-ai.chatrequestoptions.attachments.md +14 -0
- package/docs/api/foundation-ai.chatrequestoptions.md +118 -0
- package/docs/api/foundation-ai.chatrequestoptions.signal.md +14 -0
- package/docs/api/foundation-ai.chatrequestoptions.systemprompt.md +14 -0
- package/docs/api/foundation-ai.chatrequestoptions.tools.md +14 -0
- package/docs/api/foundation-ai.chatrole.md +16 -0
- package/docs/api/foundation-ai.chatstreamchunk.delta.md +14 -0
- package/docs/api/foundation-ai.chatstreamchunk.done.md +14 -0
- package/docs/api/foundation-ai.chatstreamchunk.md +99 -0
- package/docs/api/foundation-ai.chatstreamchunk.toolcalls.md +14 -0
- package/docs/api/foundation-ai.chattoolcall.args.md +14 -0
- package/docs/api/foundation-ai.chattoolcall.id.md +14 -0
- package/docs/api/foundation-ai.chattoolcall.md +99 -0
- package/docs/api/foundation-ai.chattoolcall.name.md +14 -0
- package/docs/api/foundation-ai.chattooldefinition.description.md +14 -0
- package/docs/api/foundation-ai.chattooldefinition.md +99 -0
- package/docs/api/foundation-ai.chattooldefinition.name.md +14 -0
- package/docs/api/foundation-ai.chattooldefinition.parameters.md +14 -0
- package/docs/api/foundation-ai.chattoolhandlers.md +18 -0
- package/docs/api/foundation-ai.chattoolresult.content.md +14 -0
- package/docs/api/foundation-ai.chattoolresult.md +80 -0
- package/docs/api/foundation-ai.chattoolresult.toolcallid.md +14 -0
- package/docs/api/foundation-ai.chattransport.md +58 -0
- package/docs/api/foundation-ai.chattransport.sendchatmessage.md +83 -0
- package/docs/api/foundation-ai.chattransport.streamchatmessage.md +83 -0
- package/docs/api/foundation-ai.criteriagroupresult.clauses.md +3 -0
- package/docs/api/foundation-ai.criteriagroupresult.logic.md +3 -0
- package/docs/api/foundation-ai.criteriagroupresult.md +10 -1
- package/docs/api/foundation-ai.criteriagroupresult.negated.md +3 -0
- package/docs/api/foundation-ai.criteriainterpretationresult.groups.md +3 -0
- package/docs/api/foundation-ai.criteriainterpretationresult.md +7 -0
- package/docs/api/foundation-ai.criteriainterpretcontext.fields.md +3 -0
- package/docs/api/foundation-ai.criteriainterpretcontext.md +6 -1
- package/docs/api/foundation-ai.fieldlike.md +5 -0
- package/docs/api/foundation-ai.geminiaiconfig.apikey.md +14 -0
- package/docs/api/foundation-ai.geminiaiconfig.md +123 -0
- package/docs/api/foundation-ai.geminiaiconfig.model.md +14 -0
- package/docs/api/foundation-ai.geminiaiconfig.providertype.md +14 -0
- package/docs/api/foundation-ai.geminiaiconfig.serverendpoint.md +14 -0
- package/docs/api/foundation-ai.geminiprovider._constructor_.md +65 -0
- package/docs/api/foundation-ai.geminiprovider.chat.md +83 -0
- package/docs/api/foundation-ai.geminiprovider.getstatus.md +18 -0
- package/docs/api/foundation-ai.geminiprovider.interpretcriteria.md +67 -0
- package/docs/api/foundation-ai.geminiprovider.md +128 -0
- package/docs/api/foundation-ai.geminiprovider.streamchat.md +83 -0
- package/docs/api/foundation-ai.geminitransport._constructor_.md +53 -0
- package/docs/api/foundation-ai.geminitransport.getconfig.md +21 -0
- package/docs/api/foundation-ai.geminitransport.md +116 -0
- package/docs/api/foundation-ai.geminitransport.sendchatmessage.md +83 -0
- package/docs/api/foundation-ai.geminitransport.sendstructuredprompt.md +53 -0
- package/docs/api/foundation-ai.interactionresult.md +20 -0
- package/docs/api/foundation-ai.isspeechrecognitionavailable.md +1 -1
- package/docs/api/foundation-ai.malformedfunctioncallerror._constructor_.md +53 -0
- package/docs/api/foundation-ai.malformedfunctioncallerror.finishmessage.md +14 -0
- package/docs/api/foundation-ai.malformedfunctioncallerror.md +98 -0
- package/docs/api/foundation-ai.md +230 -1
- package/docs/api/foundation-ai.resolveaiconfigoptions.md +9 -4
- package/docs/api/foundation-ai.resolveaiconfigoptions.model.md +3 -0
- package/docs/api/foundation-ai.resolveaiconfigoptions.preferchrome.md +3 -0
- package/docs/api/foundation-ai.resolveaiconfigoptions.provider.md +5 -2
- package/docs/api/foundation-ai.startspeechrecognition.md +5 -0
- package/docs/api-report.md.api.md +192 -11
- package/package.json +11 -11
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatAnimationsConfig](./foundation-ai.chatanimationsconfig.md)
|
|
4
|
+
|
|
5
|
+
## ChatAnimationsConfig 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
|
+
Configuration for the animations feature.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
export interface ChatAnimationsConfig
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Properties
|
|
19
|
+
|
|
20
|
+
<table><thead><tr><th>
|
|
21
|
+
|
|
22
|
+
Property
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
</th><th>
|
|
26
|
+
|
|
27
|
+
Modifiers
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
</th><th>
|
|
31
|
+
|
|
32
|
+
Type
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
</th><th>
|
|
36
|
+
|
|
37
|
+
Description
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
</th></tr></thead>
|
|
41
|
+
<tbody><tr><td>
|
|
42
|
+
|
|
43
|
+
[enabled?](./foundation-ai.chatanimationsconfig.enabled.md)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
</td><td>
|
|
50
|
+
|
|
51
|
+
string\[\]
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
</td><td>
|
|
55
|
+
|
|
56
|
+
**_(BETA)_** _(Optional)_ Initially enabled animations. When omitted all animations are enabled by default.
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
</td></tr>
|
|
60
|
+
<tr><td>
|
|
61
|
+
|
|
62
|
+
[userConfigurable](./foundation-ai.chatanimationsconfig.userconfigurable.md)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
</td><td>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
</td><td>
|
|
69
|
+
|
|
70
|
+
boolean
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
</td><td>
|
|
74
|
+
|
|
75
|
+
**_(BETA)_** When true, a multiselect control is shown in the settings panel so the user can toggle individual animations on or off.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
</td></tr>
|
|
79
|
+
</tbody></table>
|
|
80
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatAnimationsConfig](./foundation-ai.chatanimationsconfig.md) > [userConfigurable](./foundation-ai.chatanimationsconfig.userconfigurable.md)
|
|
4
|
+
|
|
5
|
+
## ChatAnimationsConfig.userConfigurable 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
|
+
When true, a multiselect control is shown in the settings panel so the user can toggle individual animations on or off.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
userConfigurable: boolean;
|
|
16
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatAttachment](./foundation-ai.chatattachment.md) > [content](./foundation-ai.chatattachment.content.md)
|
|
4
|
+
|
|
5
|
+
## ChatAttachment.content 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
|
+
content: string;
|
|
14
|
+
```
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatAttachment](./foundation-ai.chatattachment.md)
|
|
4
|
+
|
|
5
|
+
## ChatAttachment 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
|
+
A file attachment included with a user message.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
export interface ChatAttachment
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Properties
|
|
19
|
+
|
|
20
|
+
<table><thead><tr><th>
|
|
21
|
+
|
|
22
|
+
Property
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
</th><th>
|
|
26
|
+
|
|
27
|
+
Modifiers
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
</th><th>
|
|
31
|
+
|
|
32
|
+
Type
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
</th><th>
|
|
36
|
+
|
|
37
|
+
Description
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
</th></tr></thead>
|
|
41
|
+
<tbody><tr><td>
|
|
42
|
+
|
|
43
|
+
[content](./foundation-ai.chatattachment.content.md)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
</td><td>
|
|
50
|
+
|
|
51
|
+
string
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
</td><td>
|
|
55
|
+
|
|
56
|
+
**_(BETA)_**
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
</td></tr>
|
|
60
|
+
<tr><td>
|
|
61
|
+
|
|
62
|
+
[mimeType](./foundation-ai.chatattachment.mimetype.md)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
</td><td>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
</td><td>
|
|
69
|
+
|
|
70
|
+
string
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
</td><td>
|
|
74
|
+
|
|
75
|
+
**_(BETA)_**
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
</td></tr>
|
|
79
|
+
<tr><td>
|
|
80
|
+
|
|
81
|
+
[name](./foundation-ai.chatattachment.name.md)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
</td><td>
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
</td><td>
|
|
88
|
+
|
|
89
|
+
string
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
</td><td>
|
|
93
|
+
|
|
94
|
+
**_(BETA)_**
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
</td></tr>
|
|
98
|
+
</tbody></table>
|
|
99
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatAttachment](./foundation-ai.chatattachment.md) > [mimeType](./foundation-ai.chatattachment.mimetype.md)
|
|
4
|
+
|
|
5
|
+
## ChatAttachment.mimeType 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
|
+
mimeType: string;
|
|
14
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatAttachment](./foundation-ai.chatattachment.md) > [name](./foundation-ai.chatattachment.name.md)
|
|
4
|
+
|
|
5
|
+
## ChatAttachment.name 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
|
+
name: string;
|
|
14
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatConfig](./foundation-ai.chatconfig.md) > [acceptedFiles](./foundation-ai.chatconfig.acceptedfiles.md)
|
|
4
|
+
|
|
5
|
+
## ChatConfig.acceptedFiles 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
|
+
Comma-separated list of accepted file extensions for upload, e.g., ".txt,.md,.csv". If undefined or empty, file uploads are disabled.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
acceptedFiles?: string;
|
|
16
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatConfig](./foundation-ai.chatconfig.md) > [allowDebugDownload](./foundation-ai.chatconfig.allowdebugdownload.md)
|
|
4
|
+
|
|
5
|
+
## ChatConfig.allowDebugDownload 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
|
+
Show a button to download the full chat history as JSON.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
allowDebugDownload?: boolean;
|
|
16
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatConfig](./foundation-ai.chatconfig.md) > [animations](./foundation-ai.chatconfig.animations.md)
|
|
4
|
+
|
|
5
|
+
## ChatConfig.animations 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
|
+
Animations feature configuration.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
animations?: ChatAnimationsConfig;
|
|
16
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatConfig](./foundation-ai.chatconfig.md) > [loadingDelay](./foundation-ai.chatconfig.loadingdelay.md)
|
|
4
|
+
|
|
5
|
+
## ChatConfig.loadingDelay 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
|
+
Seconds to wait before showing the loading spinner. Default: 5. Set to 0 to show the spinner immediately when a request is in flight.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
loadingDelay?: number;
|
|
16
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatConfig](./foundation-ai.chatconfig.md) > [maxToolIterations](./foundation-ai.chatconfig.maxtooliterations.md)
|
|
4
|
+
|
|
5
|
+
## ChatConfig.maxToolIterations 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
|
+
Maximum number of tool call iterations per turn. Default: 50.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
maxToolIterations?: number;
|
|
16
|
+
```
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatConfig](./foundation-ai.chatconfig.md)
|
|
4
|
+
|
|
5
|
+
## ChatConfig 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
|
+
Display and behaviour configuration for the chat assistant.
|
|
11
|
+
|
|
12
|
+
For toggle flags (`showToolCalls`<!-- -->, `showThinkingSteps`<!-- -->): - `true` — default on, user can toggle off - `false` — default off, user can toggle on - `null` / `undefined` — completely disabled, no UI control shown
|
|
13
|
+
|
|
14
|
+
**Signature:**
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
export interface ChatConfig
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Properties
|
|
21
|
+
|
|
22
|
+
<table><thead><tr><th>
|
|
23
|
+
|
|
24
|
+
Property
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</th><th>
|
|
28
|
+
|
|
29
|
+
Modifiers
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
</th><th>
|
|
33
|
+
|
|
34
|
+
Type
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</th><th>
|
|
38
|
+
|
|
39
|
+
Description
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
</th></tr></thead>
|
|
43
|
+
<tbody><tr><td>
|
|
44
|
+
|
|
45
|
+
[acceptedFiles?](./foundation-ai.chatconfig.acceptedfiles.md)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</td><td>
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
string
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</td><td>
|
|
57
|
+
|
|
58
|
+
**_(BETA)_** _(Optional)_ Comma-separated list of accepted file extensions for upload, e.g., ".txt,.md,.csv". If undefined or empty, file uploads are disabled.
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
</td></tr>
|
|
62
|
+
<tr><td>
|
|
63
|
+
|
|
64
|
+
[allowDebugDownload?](./foundation-ai.chatconfig.allowdebugdownload.md)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
</td><td>
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</td><td>
|
|
71
|
+
|
|
72
|
+
boolean
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
</td><td>
|
|
76
|
+
|
|
77
|
+
**_(BETA)_** _(Optional)_ Show a button to download the full chat history as JSON.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
</td></tr>
|
|
81
|
+
<tr><td>
|
|
82
|
+
|
|
83
|
+
[animations?](./foundation-ai.chatconfig.animations.md)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
</td><td>
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
</td><td>
|
|
90
|
+
|
|
91
|
+
[ChatAnimationsConfig](./foundation-ai.chatanimationsconfig.md)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
</td><td>
|
|
95
|
+
|
|
96
|
+
**_(BETA)_** _(Optional)_ Animations feature configuration.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
</td></tr>
|
|
100
|
+
<tr><td>
|
|
101
|
+
|
|
102
|
+
[loadingDelay?](./foundation-ai.chatconfig.loadingdelay.md)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
</td><td>
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
</td><td>
|
|
109
|
+
|
|
110
|
+
number
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</td><td>
|
|
114
|
+
|
|
115
|
+
**_(BETA)_** _(Optional)_ Seconds to wait before showing the loading spinner. Default: 5. Set to 0 to show the spinner immediately when a request is in flight.
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
</td></tr>
|
|
119
|
+
<tr><td>
|
|
120
|
+
|
|
121
|
+
[maxToolIterations?](./foundation-ai.chatconfig.maxtooliterations.md)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
</td><td>
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
</td><td>
|
|
128
|
+
|
|
129
|
+
number
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
</td><td>
|
|
133
|
+
|
|
134
|
+
**_(BETA)_** _(Optional)_ Maximum number of tool call iterations per turn. Default: 50.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
</td></tr>
|
|
138
|
+
<tr><td>
|
|
139
|
+
|
|
140
|
+
[showThinkingSteps?](./foundation-ai.chatconfig.showthinkingsteps.md)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
</td><td>
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
</td><td>
|
|
147
|
+
|
|
148
|
+
boolean \| null
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
</td><td>
|
|
152
|
+
|
|
153
|
+
**_(BETA)_** _(Optional)_ Show model thinking/reasoning steps.
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
</td></tr>
|
|
157
|
+
<tr><td>
|
|
158
|
+
|
|
159
|
+
[showToolCalls?](./foundation-ai.chatconfig.showtoolcalls.md)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
</td><td>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
</td><td>
|
|
166
|
+
|
|
167
|
+
boolean \| null
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
</td><td>
|
|
171
|
+
|
|
172
|
+
**_(BETA)_** _(Optional)_ Show tool call details in the chat UI.
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
</td></tr>
|
|
176
|
+
</tbody></table>
|
|
177
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatConfig](./foundation-ai.chatconfig.md) > [showThinkingSteps](./foundation-ai.chatconfig.showthinkingsteps.md)
|
|
4
|
+
|
|
5
|
+
## ChatConfig.showThinkingSteps 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
|
+
Show model thinking/reasoning steps.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
showThinkingSteps?: boolean | null;
|
|
16
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatConfig](./foundation-ai.chatconfig.md) > [showToolCalls](./foundation-ai.chatconfig.showtoolcalls.md)
|
|
4
|
+
|
|
5
|
+
## ChatConfig.showToolCalls 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
|
+
Show tool call details in the chat UI.
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
showToolCalls?: boolean | null;
|
|
16
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatInteraction](./foundation-ai.chatinteraction.md) > [componentName](./foundation-ai.chatinteraction.componentname.md)
|
|
4
|
+
|
|
5
|
+
## ChatInteraction.componentName 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
|
+
componentName: string;
|
|
14
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatInteraction](./foundation-ai.chatinteraction.md) > [data](./foundation-ai.chatinteraction.data.md)
|
|
4
|
+
|
|
5
|
+
## ChatInteraction.data 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
|
+
data: any;
|
|
14
|
+
```
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-ai](./foundation-ai.md) > [ChatInteraction](./foundation-ai.chatinteraction.md) > [interactionId](./foundation-ai.chatinteraction.interactionid.md)
|
|
4
|
+
|
|
5
|
+
## ChatInteraction.interactionId 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
|
+
interactionId: string;
|
|
14
|
+
```
|