WandB
WandB has advanced AI tracking capabilities. Imagine the future. Imagine that one day, OpenAI GPT-4 can understand WandB tracking information on its activity, such as the Auto-Big-bench.ipynb
notebook. Once AI can do that, the door to functional AGI is wide open!
Open WandB_Prompts_Quickstart.ipynb
from the chapter’s repository.
The notebook is self-explanatory. You will need a WandB key and an OpenAI key, as we saw in Chapter 8, Fine-Tuning OpenAI GPT Models.
You can run the notebook and follow the instructions to see how WandB can track OpenAI and LangChain activity.
Let’s focus on the following cell:
tool_span.add_named_result({"input": "search: google founded in year"}, {"response": "1998"})
chain_span.add_named_result({"input": "calculate: 2023 - 1998"}, {"response": "25"})
llm_span.add_named_result({"input": "calculate: 2023 - 1998", "...