mirror of
https://github.com/hwchase17/langchain
synced 2024-11-13 19:10:52 +00:00
parent
965286db3e
commit
c89e7ce8b5
@ -13,7 +13,8 @@ class FileCallbackHandler(BaseCallbackHandler):
|
|||||||
"""Callback Handler that writes to a file.
|
"""Callback Handler that writes to a file.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
file: The file to write to.
|
filename: The file to write to.
|
||||||
|
mode: The mode to open the file in. Defaults to "a".
|
||||||
color: The color to use for the text.
|
color: The color to use for the text.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -1298,7 +1298,7 @@ class CallbackManager(BaseCallbackManager):
|
|||||||
run_id: Optional[UUID] = None,
|
run_id: Optional[UUID] = None,
|
||||||
**kwargs: Any,
|
**kwargs: Any,
|
||||||
) -> list[CallbackManagerForLLMRun]:
|
) -> list[CallbackManagerForLLMRun]:
|
||||||
"""Run when LLM starts running.
|
"""Run when chat model starts running.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
serialized (Dict[str, Any]): The serialized LLM.
|
serialized (Dict[str, Any]): The serialized LLM.
|
||||||
|
Loading…
Reference in New Issue
Block a user