I wanted to test how the memory works between philosophers and found that:
- Long term memory is shared between all philosophers - I've tried adding the pre_filter argument to
MongoDBAtlasHybridSearchRetriever, but couldn't make it work with the rest of the code. (E.g. Plato knows who Ada is)
- Short term memory should be threaded, but I'm getting back info that the philosophers weren't meant to know.
| philosopher |
input |
output |
order |
| Socrates |
Hello! Who played Iron Man? |
I'm Socrates. I don't know about Iron Man, but tell me, what is this Iron Man you speak of? Is it a hero, a myth, or something more? |
1 |
| Socrates |
Robert Downey Jr is the actor who played Iron Man |
A man of metal, played by a man of talent. But what is the purpose of such characters, and what do they reveal about human nature? |
2 |
| Plato |
Who played Iron Man? |
My friend, I am Plato. Shadows dance upon the wall, but true knowledge lies beyond. Robert Downey Jr. wore the Iron Man armor, a fleeting reflection of human ingenuity. |
3 |
| Turing |
Who played Iron Man? |
I'm Alan Turing, nice to meet you. Robert Downey Jr. played Iron Man, but tell me, can a machine truly understand a role like that? |
4 |
You can check the complete Opik traces in philoagents_course-traces.json
I wanted to test how the memory works between philosophers and found that:
MongoDBAtlasHybridSearchRetriever, but couldn't make it work with the rest of the code. (E.g. Plato knows who Ada is)You can check the complete Opik traces in philoagents_course-traces.json