Weights and Biases dashboard.
To learn more about prompt engineering and the callback please refer to this notebook which explains both alongside the resultant dashboards you can expect to see:
WandbCallbackHandler is being deprecated in favour of the WandbTracer . In future please use the WandbTracer as it is more flexible and allows for more granular logging.
To know more about the WandbTracer refer to the agent_with_wandb_tracing notebook or use the following colab notebook.
To know more about Weights & Biases Prompts refer to the following prompts documentation.
flush_tracker function is used to log LangChain sessions to Weights & Biases. It takes in the LangChain module or agent, and logs at minimum the prompts and generations alongside the serialized form of the LangChain module to the specified Weights & Biases project. By default we reset the session as opposed to concluding the session outright.
Usage Scenarios
With LLM
Within Chains
With Agents
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.