BoxcarsAI / boxcars

Building applications with composability using Boxcars with LLM's. Inspired by LangChain.
MIT License
435 stars 39 forks source link

figure out logging #10

Closed francis closed 1 year ago

francis commented 1 year ago

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?