I am currently saving a WhatsApp conversation in a Word file and would like to expand this process by storing the conversation as a vector in Pinecone for later retrieval. Below is the implementation I am using to log conversation details:
Customer ID: {{ $(‘Edit Fields3’).item.json[‘User Phone’] }}
Conversation start Date:{{ $(‘Edit Fields3’).item.json.Timestamp }}
**Customer Messages & AI Responses:**
[{{ $(‘Edit Fields3’).item.json.Timestamp}}]**Customer:**{{ $(‘Edit Fields3’).item.json['Customer '] }}
[ {{ new Date().toLocaleString() }} ]
**Agent AI:** {{ $(‘Edit Fields3’).item.json[‘Agent reply’] }}
this is how i am saving the data in word file.
I would like to know how to integrate this process with Pinecone so that the conversation data is vectorized, stored, and can be efficiently used for future conversations. What steps or modifications should I consider?