Skip to content

Commit 8f5b47c

Browse files
committed
docs
1 parent 43b8ce2 commit 8f5b47c

6 files changed

Lines changed: 3 additions & 52 deletions

File tree

docs/functions/ask.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ group: docs
66
# ask
77

88
```ts
9-
declare function ask<T = string>(message: T, advisorName: AdvisorName, images?: Image[]): Promise<string>;
9+
declare function ask<T = string>(message: T, advisorName: AdvisorName): Promise<string>;
1010
```
1111

1212
Initiates an ask process within a chat context.
@@ -19,4 +19,3 @@ Supports custom message types including objects, Blob, or string.
1919
|-----------|-------------|
2020
| `message` | The message content to process or send. Type should match the advisor's expected message type. |
2121
| `advisorName` | The name of the advisor to handle the message. |
22-
| `images` | Optional array of images (as Uint8Array or string) to accompany the message. |

docs/interfaces/IAdvisorCallbacks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ group: docs
1010
### onChat
1111

1212
```ts
13-
onChat: (args: IChatArgs<T>) => void
13+
onChat: (message: T) => void
1414
```
1515

1616
Optional callback triggered when a chat operation occurs

docs/interfaces/IAdvisorSchema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Optional callbacks for advisor operations
3636
### getChat
3737

3838
```ts
39-
getChat: (args: IChatArgs<T>) => Promise<string>
39+
getChat: (message: T) => Promise<string>
4040
```
4141

4242
Function to get chat response

docs/interfaces/IChatArgs.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/types/Image$1.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/types/Image.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)