langchain-learning icon indicating copy to clipboard operation
langchain-learning copied to clipboard

有辦法從callbacks 中取得完整的action log嗎?

Open easontsai opened this issue 1 year ago • 1 comments

我嘗試用intermediate steps來取得agent 執行過程的log,但我想要再進一步地取得更詳細的action input好像就沒辦法?好比說request_get這種tool,我想要紀錄他call 的request以及接收的response,這樣子似乎沒辦法實現?

我在想是不是能透過callbacks 裡面的一些event (on_llm_error, on_tool_start etc.) 來收集詳細的action過程,換句話說有辦法在agent.run()之後取得這run完整的log嗎?

thx

easontsai avatar Sep 18 '23 08:09 easontsai