71 Commits

Author SHA1 Message Date
a9a8b14c73 Updated README and added some ASCII art :) 2025-11-01 23:48:34 -05:00
a5c684aa72 feat: implement terminal messenger with conversation management
feat: implement terminal messenger with conversation management

- Add terminal-based messenger client connecting to Verint API endpoint
- Implement colorized output (blue for user input, green for assistant
responses)
- Add readline integration for arrow key navigation through input
history
- Implement conversation persistence with unique history files per
conversation ID
- Add conversation resume feature listing 5 most recent conversations
- Store and auto-load model names per conversation
- Display last 10 message exchanges when resuming conversations
- Log full conversation history (user + assistant messages) with
timestamps
- Simplify codebase by consolidating file operations into reusable
functions
- Fix Sscanf error handling for conversation selection

Features:
- Request/response handling with conversation context via
previous_response_id
- Three file types per conversation: .tmp (readline history), _log.txt
(full conversation), _meta.txt (model name)
- Automatic conversation ID assignment after first message
- Clean exit handling and proper resource cleanup
2025-11-01 23:33:57 -05:00
c198babc75 simplified code
Reductions:

~170 lines → ~110 lines (35% fewer lines)
Removed unnecessary functions and constructors
Combined structs and simplified JSON parsing
Streamlined error handling
Merged sendRequest and SendMessage into single Send method

Key simplifications:

Used inline struct definitions for Response parsing
Replaced Metadata struct with simple map[string]string
Removed NewMessenger constructor - use struct literal directly
Inlined the header printing
Simplified constant names (colorBlue → blue)
Reduced verbose error messages

The app works exactly the same but with much cleaner, more maintainable
code! All features are preserved:

 Colorized input/output
 Arrow key history navigation
â Conversation context tracking
 Same API communication
2025-11-01 22:56:53 -05:00
fc9b17bcec Adding terminal messenger
This is a golang based application that connects to the basic messenger
2025-11-01 22:46:34 -05:00
97ac50cb0a Adding readme for bot tango example 2025-10-27 13:12:49 -05:00
22a9e9e77a Adding 'IVA Wakeup' script used for Bot Tango example 2025-10-27 12:27:23 -05:00
f5d69bbc01 ignore .env files 2025-10-27 12:25:17 -05:00
56bee69e0b Updated basic messenger environment details 2025-10-27 12:24:39 -05:00
ae5eaff9f7 Update body to include SUmmarized with AI statement 2025-10-27 12:19:42 -05:00
fda222f641 Updating endpoint to Cigna Accredo endpoint 2025-10-27 12:19:00 -05:00
f19a337bea Ignore posting files 2025-10-27 12:15:00 -05:00
33ac363338 Updating n8n flows for AOS demo environment 2025-09-26 13:28:07 -05:00
91f47f01a5 Adding context updater example 2025-09-03 14:47:16 -05:00
047e906759 Adding answerbot and basis & extended syntax markdown examples 2025-09-03 14:46:59 -05:00
c6bb4719f7 Adding copilot IVA requests to posting 2025-08-29 12:21:03 -05:00
0bc527e78c Adding posting.sh example for copilot cloud events 2025-08-29 10:18:38 -05:00
d2e9bcfa85 moving console.js to correct package structure 2025-08-29 10:17:03 -05:00
94b441f769 Adding Scenario 2+3 2025-08-24 13:55:15 -05:00
8a648f7515 Adding n8n workflows 2025-08-22 19:23:05 -05:00
39d03d4b3a updating proactive agent to support both copilot and messenger front-ends 2025-08-21 22:22:47 -05:00
403c73fc83 moving copilot work under common folder and adding _studio_dependencies 2025-08-20 09:30:17 -05:00
bc11ec76d0 Adding copilotUX example 2025-08-15 10:22:14 -05:00
e17b64c0e9 Merge branch 'main' of https://git.mortons.site/verint.com/iva-studio-workspace 2025-08-08 09:46:07 -05:00
eaffb38001 Adding maker DMG 2025-08-07 22:25:32 -05:00
dfae41ecbd Updating .env instructions 2025-08-07 22:14:49 -05:00
d7bf1e9004 fencing project structure 2025-08-07 22:13:23 -05:00
9c5877677f initial commit 2025-08-07 22:11:53 -05:00
db79b2147b Updating folder name 2025-08-07 11:12:00 -05:00
5a722a4d65 Adding ignore for packaged extension 2025-08-07 09:37:11 -05:00
27d7474354 proactive agent proxy now runs models for responses 2025-08-07 00:48:43 -05:00
166cded7da Adding key information 2025-08-05 12:29:16 -05:00
93c0755c05 updated permissions to include tabs 2025-07-30 20:35:47 -05:00
e709879d40 need to package onEngagementLoad as you are not allowed to eval() inside of an extension 2025-07-30 19:31:36 -05:00
ae5cd721a8 initial commit of browser extension 2025-07-30 17:03:59 -05:00
a05cbc3d12 Add remote console capabilities 2025-06-18 23:49:36 -05:00
bf2cbc19d4 formatting now removed HTML 2025-06-13 22:40:27 -05:00
7e8dbaaa90 Updated to typescript and added chalk for a bit of color and formatting 2025-06-13 18:39:42 -05:00
ac688019ca Updated router to persist across transactions 2025-06-07 16:39:06 -05:00
a00fb4f133 Added sorting of messages 2025-06-06 16:10:57 -05:00
0b10862320 Added sorting of messages 2025-06-06 14:03:46 -05:00
6efd73a601 updated readme 2025-06-06 13:00:36 -05:00
440b84edfc Updating Context Service example 2025-06-06 12:55:10 -05:00
0650f12bd5 you can now pass in the filterExpression so that the messeger can change the default in settings 2025-06-03 14:47:33 -05:00
229cdee818 Merge branch 'main' of https://git.mortons.site/verint.com/iva-studio-workspace 2025-05-30 18:50:32 -05:00
721c3fb976 handling of zero sources found 2025-05-30 18:49:11 -05:00
ab1e59deeb partial commit of AI-Agents work. Need to refactor out keys to commit the rest. 2025-05-30 16:32:21 -05:00
bd4f1f96fb Update CQA_Retriever/_studio_dependencies/README.md 2025-05-29 16:42:24 -05:00
f15ef5d51f Update CQA_Retriever/_studio_dependencies/README.md 2025-05-29 16:33:23 -05:00
3f02e5caa1 updated GlobalVariable install instructions 2025-05-29 16:30:47 -05:00
72f7226a17 updated prereqs instructions 2025-05-29 16:21:54 -05:00