@oleg - follow on question, not sure if this should be a new topic?
The chat retriever outputs data like this
[
{
"human": "Morning Alex",
"ai": "Thanks for reaching out! May I know your email address so that I can email you any information you may find useful?"
},
{
"human": "[email protected]",
"ai": "Thanks for providing your email address. Now, how can I assist you with Member Track today?"
},
{
"human": "What does member track do?",
"ai": "Thanks Alex, Member Track is a powerful open-source marketing automation software. It helps you to engage with, nurture, and track leads through every stage of your sales funnel. With Member Track, you can create and implement marketing campaigns, track user interactions, score leads, and do much more. It's like having a personal assistant for your marketing team! Do you have any specific questions about how to use Member Track?"
},
{
"human": "yes i do",
"ai": "Thanks Alex, I'm glad to hear that you're interested in learning more about Member Track! Please feel free to ask your specific questions, and I'll do my best to provide you with the information you need."
},
{
"human": "What does it cost?",
"ai": "Thanks Alex, I'm sorry but I couldn't find specific information on the cost of Member Track. As it's an open-source software, it's generally free to use. However, costs can be associated with customization, hosting, or professional services if you choose to use them. I recommend checking the official Member Track website or contacting their support for the most accurate and up-to-date information. Do you have any other questions about Member Track?"
}
]
I need to be able grab the entire conversation conversation as a single Object (I hope I am using this term correctly). This is so I can grab the entire conversation and set as a body for an email node or insert into a text block in a crm.
The output currently is broken up into Human and ai. This makes it challenging to configure the next node. I would need to have an expression for every single question and answer and I would not know how many questions and answer there would be as each conversation length would be different.
I have tried using the set node to concatenate the conversation, and this kinda works in that the entire conversation is collapsed into 2 objects - Human and AI. But it breaks the flow of reading the natural flow of the conversation, ie all the AI answers are in one object, and all the human questions are in another.
I hope I am making sense?