Skip to content
Chat node - Utilizi...
 
Notifications
Clear all

Chat node - Utilizing the full transcript within the AI agent tool

8 Posts
4 Users
0 Reactions
3 Views
Shadoxity
(@shadoxity)
Posts: 4
Active Member
Topic starter
 

Describe the problem/error/question

I have a chat node configured with an AI agent and simple memory.
Everything is functioning correctly, and I have a tool set up to log a ticket when necessary.

The issue is that I haven't found a way to make the AI agent include the full chat transcript within the ticket.
Currently, it only incorporates the most recent message into the ticket description.

I've noticed discussions here about using the chat retriever node, but that appears to be effective only after the agent node has processed the conversation. I need the agent itself to include the transcript when it utilizes the tool.

Does anyone have suggestions on how to accomplish this?

 
Posted : 12/04/2025 9:03 pm
Amando_Garza
(@amando_garza)
Posts: 1
New Member
 

I'm not sure I understand the question. Could you please provide more specific details?

 
Posted : 13/04/2025 2:10 am
jcuypers
(@jcuypers)
Posts: 29
Eminent Member
 

Hi, perhaps a simple question, but can the chat retriever node also be utilized as a tool?

Regards,
J

 
Posted : 13/04/2025 9:32 am
Shadoxity
(@shadoxity)
Posts: 4
Active Member
Topic starter
 

Certainly.

A chat message arrives.
Bot replies.
User responds.
Bot replies again.
User provides additional information.
Bot suggests creating a ticket.

Bot creates a ticket.

However, I need to include the entire chat history within the ticket notes. Currently, I only receive a summary of the conversation, making it unclear if the user completed specific actions like step x or y.

I'm struggling to retrieve the chat history associated with the conversation ID to ensure it's saved to the ticket.

I'm only presented with a 'chat memory' as the next node type after the AI agent. Ideally, I'd prefer to avoid an extra step to fetch the ticket and then update it with the history. I believe the AI should be capable of handling this.

Please provide guidance on how to obtain the chat history for the conversation ID to ensure it is saved to the ticket.

 
Posted : 13/04/2025 9:34 am
jcuypers
(@jcuypers)
Posts: 29
Eminent Member
 

Hi,

Yes, I understand. The key point is that the AI decides when the conversation reaches a stage requiring ticket creation, escalation, or when no further action is needed. You can instruct it via a system message that after creating a ticket or performing other actions, it must send a transcript using a tool. The tool description would simply be: 'send transcript'. Once the ticket is created, you can certainly update its content or attach the chat log.

It will utilize the tools sequentially if configured correctly.

It's possible the transcript tool has a limitation where it only functions after the conversation concludes. I'm not certain, but you can give it a try.

Regards,
J.

 
Posted : 13/04/2025 9:53 am
Shadoxity
(@shadoxity)
Posts: 4
Active Member
Topic starter
 

My current roadblock with the AI Agent is that whenever it makes a call, it appears to only recall the most recent chat message from simple memory in the log. There isn't a dedicated chat retriever tool, only a node.

This leads me to consider using a database for chat memory and implementing a specific query tool for it, but I suspect there might be a more straightforward approach.

 
Posted : 13/04/2025 10:04 am
Shadoxity
(@shadoxity)
Posts: 4
Active Member
Topic starter
 

Does anyone else have any thoughts on how to accomplish this?

Or is the only method to save it in an external database and query it for the information?

 
Posted : 21/04/2025 11:43 am
system
(@system)
Posts: 332
Reputable Member
 

This thread was automatically closed 90 days following the last response. New replies are no longer permitted.

 
Posted : 20/07/2025 11:44 am
Share: