Ask a question to get started
Enter to sendā¢Shift+Enter new line
If the key input is in inputs, then save it in self.prompts using either the parent_run_id or the run_id as the key. This is done so that we don't log the same input prompt twice, once when the LLM starts and once when the chain starts.
input
inputs
self.prompts
parent_run_id
run_id
on_chain_start( self, serialized: Dict[str, Any], inputs: Dict[str, Any], **kwargs: Any = {} ) -> None