For a single inference, using agent_chain.run( ... ) in langchain, for the HumanMessage + AIMessage message blocks being persisted to memory, is there a way to add metadata to those?
Lol. Doesn’t help. I tried where these kwargs go, or even the metadata param on the ‘run’ method, but no luck. They should provide a way to add metadata to each (Human + AI) message pair when storing to memory. Could help a lot.