Content
@
0 reply
0 recast
0 reaction
adrienne
@adrienne
Giving my bot a memory of its conversation was a little more complicated than I thought it would be. Is this the right approach: - Use neynar conversation API to retrieve all casts from a thread (https://docs.neynar.com/reference/lookup-cast-conversation) - Apply filtering logic to only get casts between the user & the bot - Pass the conversation history back into LLM prompt to remind bot of its past conversation I couldn't get through the first 2 steps today and I ran out of time. Will pick back up later but if anyone has done something similar and has any guidance/advice I'm all ears.
4 replies
1 recast
29 reactions
Jason
@jachian
Depends on what youβre trying to do with the conversation memory. In about all cases itβs better to distill it down in some way
1 reply
0 recast
2 reactions
adrienne
@adrienne
Right now my bot will answer you if you tag it, but it only has the context of whatever you wrote in the cast where you tag it. I want to be able to have it continue a conversation with someone. Just like how you and I might do in this thread... Like if I ask the bot a clarifying question, it won't remember what we were just talking about.
1 reply
0 recast
2 reactions
Jason
@jachian
I can see how that can be challenging. Even if you managed to pull all conversations tagging the bot, itβs no guarantee itβd pickup on nuance from older conversations. My half measure without complex RAG systems would be to pull the last thread someone interacted with the bot (if there is one) and potentially use the LLM to distill the contents of it
0 reply
0 recast
1 reaction