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
christin
@christin
@jrf ššš
1 reply
0 recast
1 reaction
Jacob
@jrf
yep that's how @atlas does it, @adrienne i think i just the algorithmic option on the neynar conversation api for most summaries but i may use chron to keep track of my convos w atlas tbh i don't recall but happy to share notes
2 replies
0 recast
2 reactions
adrienne
@adrienne
Thx @jrf I just chatted with @sayangel and I think I know what I was doing wrong. To get the chat history between just two people, instead of starting with the root cast and going down, it's better to start with the lowest/most recent cast and recursively travel up the thread to rebuild the chat. Have to step away now but I'll reach back out if I get stuck. appreciate all the offers of help! stay tuned
1 reply
0 recast
2 reactions
Jacob
@jrf
ah, cool, i don't think i've been doing that, that's a good tip i think i was actually getting the recent casts from a user and filtering by reply_to or something
1 reply
0 recast
2 reactions