You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(`Found ${agentMessages.length} agent messages and ${userMessages.length} user messages`);
30
104
```
31
105
32
106
### Explanation
33
107
34
-
This function basically helps us get all the previous messages from our Codebolt chats.
108
+
This function basically helps us get all the previous messages from our Codebolt chats. It returns a comprehensive history including message content, metadata, and timing information for each interaction in the conversation thread.
The `sendConfirmationRequest` function sends a confirmation request to the user with customizable buttons and optional feedback input. This is useful for getting user approval before performing operations or collecting simple input from the user.
129
+
The `sendConfirmationRequest` function sends a confirmation request to the user with customizable buttons and optional feedback input. This is useful for getting user approval before performing operations or collecting simple input from the user. The function returns a comprehensive response object containing the user's selection and additional metadata for tracking and processing.
> **Note**: The embedding API is currently not available in the CodeboltJS.
4
4
5
-
```bash
5
+
### Planned Embedding API
6
+
7
+
The embedding API will allow you to create vector embeddings from text input for use in semantic search, similarity matching, and other AI applications.
8
+
9
+
```javascript
10
+
// This API is not yet implemented
6
11
importcodeboltfrom"codebolt";
7
12
8
13
asyncfunctionmain() {
14
+
// Planned API structure (not currently available)
0 commit comments