dspy
dspy copied to clipboard
Add an unique id for every entry in history
We can infer that, history in dspy acts as a trace, where we can see previous LLM response along with all the additional arguments. However, with more and more llm responses, it becomes hard to follow along the traces, since this is a list. And this becomes a common problem for all the supported LLMs in dsp.modules
So my proposal is to have some id parameter with the following example standard:
module-name:current-date-time
or we can also use uuid but then add, date-time parameter seperately. The reason I put emphasis on datetime, because it makes easier to do some filter operations.
Let me know what everyone thinks on this.