We copied the stdout dumping of progress from langchain, but it seems more useful to have this in a log file. We stubbed out logger in Boxcars::Configuration, and that could be the answer. We would lose the color strings, which make a great demo, but perhaps are not needed.
Maybe the ouput defaults to stdout unless you set a logger, or are using Rails in which case the same logger can be used?
We copied the stdout dumping of progress from langchain, but it seems more useful to have this in a log file. We stubbed out logger in Boxcars::Configuration, and that could be the answer. We would lose the color strings, which make a great demo, but perhaps are not needed.
Maybe the ouput defaults to stdout unless you set a logger, or are using Rails in which case the same logger can be used?